summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/NA930.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/NA930.dts')
-rw-r--r--target/linux/ramips/dts/NA930.dts128
1 files changed, 63 insertions, 65 deletions
diff --git a/target/linux/ramips/dts/NA930.dts b/target/linux/ramips/dts/NA930.dts
index 9b54d72..4093932 100644
--- a/target/linux/ramips/dts/NA930.dts
+++ b/target/linux/ramips/dts/NA930.dts
@@ -10,34 +10,6 @@
bootargs = "console=ttyS1,57600";
};
- pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "i2c", "rgmii2", "spi", "ephy";
- ralink,function = "gpio";
- };
-
- uartf_gpio {
- ralink,group = "uartf";
- ralink,function = "gpio uartf";
- };
- };
- };
-
- palmbus@10000000 {
- uart@500 {
- status = "okay";
- };
-
- gpio@638 {
- status = "okay";
- };
-
- gpio@660 {
- status = "okay";
- };
- };
-
nand {
#address-cells = <1>;
#size-cells = <1>;
@@ -67,39 +39,6 @@
};
};
- ethernet@10100000 {
- status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&rgmii1_pins &mdio_pins>;
- mediatek,portmap = "llllw";
-
- port@4 {
- status = "okay";
- phy-handle = <&phy4>;
- phy-mode = "rgmii";
- };
-
- port@5 {
- status = "okay";
- phy-handle = <&phy5>;
- phy-mode = "rgmii";
- };
-
- mdio-bus {
- status = "okay";
-
- phy4: ethernet-phy@4 {
- reg = <4>;
- phy-mode = "rgmii";
- };
-
- phy5: ethernet-phy@5 {
- reg = <5>;
- phy-mode = "rgmii";
- };
- };
- };
-
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -159,16 +98,75 @@
gpios = <&gpio0 13 0>;
};
};
+};
+
+&pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "i2c", "rgmii2", "spi", "ephy";
+ ralink,function = "gpio";
+ };
+
+ uartf_gpio {
+ ralink,group = "uartf";
+ ralink,function = "gpio uartf";
+ };
+ };
+};
+
+&uart {
+ status = "okay";
+};
- gsw@10110000 {
- mediatek,port4 = "gmac";
+&gpio1 {
+ status = "okay";
+};
+
+&gpio2 {
+ status = "okay";
+};
+
+&ethernet {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&rgmii1_pins &mdio_pins>;
+ mediatek,portmap = "llllw";
+
+ port@4 {
+ status = "okay";
+ phy-handle = <&phy4>;
+ phy-mode = "rgmii";
};
- ehci@101c0000 {
+ port@5 {
status = "okay";
+ phy-handle = <&phy5>;
+ phy-mode = "rgmii";
};
- ohci@101c1000 {
+ mdio-bus {
status = "okay";
+
+ phy4: ethernet-phy@4 {
+ reg = <4>;
+ phy-mode = "rgmii";
+ };
+
+ phy5: ethernet-phy@5 {
+ reg = <5>;
+ phy-mode = "rgmii";
+ };
};
};
+
+&gsw {
+ mediatek,port4 = "gmac";
+};
+
+&ehci {
+ status = "okay";
+};
+
+&ohci {
+ status = "okay";
+};