mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-22 22:04:47 +08:00
d3d0b996a7
This patch does a cleanup of the uart nodes in the dts file of the RFB. It adds aliases, enables 2 more uarts and explicitly sets the uart mode of the console. Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
75 lines
1.3 KiB
Plaintext
75 lines
1.3 KiB
Plaintext
/*
|
|
* Copyright (c) 2017 MediaTek Inc.
|
|
* Author: John Crispin <john@phrozen.org>
|
|
* Sean Wang <sean.wang@mediatek.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "mt7623.dtsi"
|
|
#include "mt6323.dtsi"
|
|
|
|
/ {
|
|
chosen {
|
|
stdout-path = "serial2:115200n8";
|
|
};
|
|
|
|
cpus {
|
|
cpu0 {
|
|
proc-supply = <&mt6323_vproc_reg>;
|
|
};
|
|
|
|
cpu1 {
|
|
proc-supply = <&mt6323_vproc_reg>;
|
|
};
|
|
|
|
cpu2 {
|
|
proc-supply = <&mt6323_vproc_reg>;
|
|
};
|
|
|
|
cpu3 {
|
|
proc-supply = <&mt6323_vproc_reg>;
|
|
};
|
|
};
|
|
|
|
memory@80000000 {
|
|
reg = <0 0x80000000 0 0x40000000>;
|
|
};
|
|
|
|
aliases {
|
|
serial0 = &uart0;
|
|
serial1 = &uart1;
|
|
serial2 = &uart2;
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart2 {
|
|
status = "okay";
|
|
};
|
|
|
|
&mmc0 {
|
|
vmmc-supply = <&mt6323_vemc3v3_reg>;
|
|
vqmmc-supply = <&mt6323_vio18_reg>;
|
|
};
|
|
|
|
&mmc1 {
|
|
vmmc-supply = <&mt6323_vmch_reg>;
|
|
vqmmc-supply = <&mt6323_vmc_reg>;
|
|
};
|