aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/D240.dts17
1 files changed, 14 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/D240.dts b/target/linux/ramips/dts/D240.dts
index 4f3da8d316..392e92d466 100644
--- a/target/linux/ramips/dts/D240.dts
+++ b/target/linux/ramips/dts/D240.dts
@@ -52,9 +52,16 @@
power_mpcie2 {
gpio-export,name = "power_mpcie2";
- gpio-export,output = <GPIO_ACTIVE_LOW>;
- gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
+ gpio-export,output = <1>;
+ gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
};
+
+ power_mpcie1 {
+ gpio-export,name = "power_mpcie1";
+ gpio-export,output = <1>;
+ gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
+ };
+
};
gpio-leds {
@@ -94,6 +101,10 @@
status = "okay";
};
+&gpio2 {
+ status = "okay";
+};
+
&gpio3 {
status = "okay";
};
@@ -157,7 +168,7 @@
&pinctrl {
state_default: pinctrl0 {
default {
- ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa";
+ ralink,group = "i2c", "uartf", "wled", "spi refclk", "pa", "nd_sd";
ralink,function = "gpio";
};
};