aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt3050.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/rt3050.dtsi')
-rw-r--r--target/linux/ramips/dts/rt3050.dtsi41
1 files changed, 33 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/rt3050.dtsi b/target/linux/ramips/dts/rt3050.dtsi
index 1130005e78..86a4d15476 100644
--- a/target/linux/ramips/dts/rt3050.dtsi
+++ b/target/linux/ramips/dts/rt3050.dtsi
@@ -110,8 +110,6 @@
interrupt-parent = <&intc>;
interrupts = <6>;
-
- status = "disabled";
};
gpio1: gpio@638 {
@@ -156,6 +154,9 @@
#address-cells = <1>;
#size-cells = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&spi_pins>;
+
status = "disabled";
};
@@ -170,8 +171,38 @@
interrupts = <12>;
reg-shift = <2>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&uartlite_pins>;
+ };
+
+ };
+
+ pinctrl {
+ compatible = "ralink,rt2880-pinmux";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&state_default>;
+
+ state_default: pinctrl0 {
+ sdram {
+ ralink,group = "sdram";
+ ralink,function = "sdram";
+ };
};
+ spi_pins: spi {
+ spi {
+ ralink,group = "spi";
+ ralink,function = "spi";
+ };
+ };
+ uartlite_pins: uartlite {
+ uart {
+ ralink,group = "uartlite";
+ ralink,function = "uartlite";
+ };
+ };
};
rstctrl: rstctrl {
@@ -185,8 +216,6 @@
interrupt-parent = <&cpuintc>;
interrupts = <5>;
-
- status = "disabled";
};
esw@10110000 {
@@ -195,8 +224,6 @@
interrupt-parent = <&intc>;
interrupts = <17>;
-
- status = "disabled";
};
wmac@10180000 {
@@ -207,8 +234,6 @@
interrupts = <6>;
ralink,eeprom = "soc_wmac.eeprom";
-
- status = "disabled";
};
otg@101c0000 {