summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/rt5350.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/rt5350.dtsi')
-rw-r--r--target/linux/ramips/dts/rt5350.dtsi52
1 files changed, 44 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
index e132699da3..cb9077f7b4 100644
--- a/target/linux/ramips/dts/rt5350.dtsi
+++ b/target/linux/ramips/dts/rt5350.dtsi
@@ -110,8 +110,6 @@
ralink,register-map = [ 00 04 08 0c
20 24 28 2c
30 34 ];
-
- status = "disabled";
};
gpio1: gpio@638 {
@@ -162,6 +160,9 @@
#address-cells = <1>;
#size-cells = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c_pins>;
+
status = "disabled";
};
@@ -175,6 +176,9 @@
#address-cells = <1>;
#size-cells = <1>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&spi_pins>;
+
status = "disabled";
};
@@ -188,6 +192,9 @@
interrupt-parent = <&intc>;
interrupts = <12>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&uartlite_pins>;
+
reg-shift = <2>;
};
@@ -200,6 +207,41 @@
};
};
+ pinctrl {
+ compatible = "ralink,rt2880-pinmux";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&state_default>;
+
+ state_default: pinctrl0 {
+ };
+
+ spi_pins: spi {
+ spi {
+ ralink,group = "spi";
+ ralink,function = "spi";
+ };
+ };
+ i2c_pins: i2c {
+ i2c {
+ ralink,group = "i2c";
+ ralink,function = "i2c";
+ };
+ };
+ phy_led_pins: phy_led {
+ phy_led {
+ ralink,group = "led";
+ ralink,function = "led";
+ };
+ };
+ uartlite_pins: uartlite {
+ uart {
+ ralink,group = "uartlite";
+ ralink,function = "uartlite";
+ };
+ };
+ };
+
rstctrl: rstctrl {
compatible = "ralink,rt5350-reset", "ralink,rt2880-reset";
#reset-cells = <1>;
@@ -218,8 +260,6 @@
interrupt-parent = <&cpuintc>;
interrupts = <5>;
-
- status = "disabled";
};
esw@10110000 {
@@ -228,8 +268,6 @@
interrupt-parent = <&intc>;
interrupts = <17>;
-
- status = "disabled";
};
wmac@10180000 {
@@ -240,8 +278,6 @@
interrupts = <6>;
ralink,eeprom = "soc_wmac.eeprom";
-
- status = "disabled";
};
ehci@101c0000 {