2018-04-11 15:53:55 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2016-01-05 23:24:27 +07:00
|
|
|
/*
|
2017-07-31 14:36:37 +07:00
|
|
|
* Copyright (c) 2017 MediaTek Inc.
|
2016-12-21 02:04:34 +07:00
|
|
|
* Author: John Crispin <john@phrozen.org>
|
2017-07-31 14:36:37 +07:00
|
|
|
* Sean Wang <sean.wang@mediatek.com>
|
2016-01-05 23:24:27 +07:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
#include "mt7623.dtsi"
|
2017-07-31 14:36:36 +07:00
|
|
|
#include "mt6323.dtsi"
|
2016-01-05 23:24:27 +07:00
|
|
|
|
|
|
|
/ {
|
2017-08-04 10:59:35 +07:00
|
|
|
aliases {
|
|
|
|
serial0 = &uart0;
|
|
|
|
serial1 = &uart1;
|
|
|
|
serial2 = &uart2;
|
|
|
|
};
|
|
|
|
|
2016-01-05 23:24:27 +07:00
|
|
|
chosen {
|
2017-07-31 14:36:39 +07:00
|
|
|
stdout-path = "serial2:115200n8";
|
2016-01-05 23:24:27 +07:00
|
|
|
};
|
|
|
|
|
2017-07-31 14:36:36 +07:00
|
|
|
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>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-07-31 14:36:37 +07:00
|
|
|
memory@80000000 {
|
2018-04-11 15:53:56 +07:00
|
|
|
device_type = "memory";
|
2016-01-05 23:24:27 +07:00
|
|
|
reg = <0 0x80000000 0 0x40000000>;
|
|
|
|
};
|
2017-07-31 14:36:39 +07:00
|
|
|
|
arm: dts: mt7623: fix all Warnings (unit_address_vs_reg)
Fix below a lot of Warnings (unit_address_vs_reg) that dtc complains so
much for
Node /oscillator@1 has a unit name, but no reg property
Node /oscillator@0 has a unit name, but no reg property
Node /pinctrl@10005000/cir@0 has a unit name, but no reg property
Node /pinctrl@10005000/i2c@0 has a unit name, but no reg property
Node /pinctrl@10005000/i2c@1 has a unit name, but no reg property
Node /pinctrl@10005000/i2s@0 has a unit name, but no reg property
Node /pinctrl@10005000/i2s@1 has a unit name, but no reg property
Node /pinctrl@10005000/keys@0 has a unit name, but no reg property
Node /pinctrl@10005000/leds@0 has a unit name, but no reg property
Node /pinctrl@10005000/pwm@0 has a unit name, but no reg property
Node /pinctrl@10005000/spi@0 has a unit name, but no reg property
Node /pinctrl@10005000/uart@0 has a unit name, but no reg property
Node /pinctrl@10005000/uart@1 has a unit name, but no reg property
Node /pinctrl@10005000/uart@2 has a unit name, but no reg property
Node /ethernet@1b100000/mdio-bus/switch@0/ports has a reg or ranges
property, but no unit name
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2018-04-11 15:53:58 +07:00
|
|
|
usb_p1_vbus: regulator-5v {
|
2017-07-31 14:36:40 +07:00
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "usb_vbus";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
gpio = <&pio 135 GPIO_ACTIVE_HIGH>;
|
|
|
|
enable-active-high;
|
|
|
|
};
|
2017-07-31 14:36:39 +07:00
|
|
|
};
|
|
|
|
|
2017-08-04 10:59:35 +07:00
|
|
|
&mmc0 {
|
|
|
|
vmmc-supply = <&mt6323_vemc3v3_reg>;
|
|
|
|
vqmmc-supply = <&mt6323_vio18_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&mmc1 {
|
|
|
|
vmmc-supply = <&mt6323_vmch_reg>;
|
|
|
|
vqmmc-supply = <&mt6323_vmc_reg>;
|
|
|
|
};
|
|
|
|
|
2017-07-31 14:36:39 +07:00
|
|
|
&uart0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart1 {
|
|
|
|
status = "okay";
|
2016-01-05 23:24:27 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2017-07-31 14:36:36 +07:00
|
|
|
|
2017-07-31 14:36:40 +07:00
|
|
|
&usb1 {
|
|
|
|
vbus-supply = <&usb_p1_vbus>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&u3phy1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|