Created
June 18, 2017 10:01
-
-
Save victoredwardocallaghan/fdbf30bd92db6c61ad923eb82b93396a to your computer and use it in GitHub Desktop.
idk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/target/linux/lantiq/dts/DM200.dts b/target/linux/lantiq/dts/DM200.dts | |
index 56c33dd..26783d7 100644 | |
--- a/target/linux/lantiq/dts/DM200.dts | |
+++ b/target/linux/lantiq/dts/DM200.dts | |
@@ -33,12 +33,6 @@ | |
lantiq,groups = "mdio"; | |
lantiq,function = "mdio"; | |
}; | |
- conf_out { | |
- lantiq,pins = "io12", "io15"; // annexa, annexb | |
- lantiq,open-drain; | |
- lantiq,pull = <0>; | |
- lantiq,output = <1>; | |
- }; | |
}; | |
pins_spi_default: pins_spi_default { | |
@@ -77,6 +71,22 @@ | |
}; | |
}; | |
+ gpio_export { | |
+ compatible = "gpio-export"; | |
+ #size-cells = <0>; | |
+ | |
+ annexa { | |
+ gpio-export,name = "annexa"; | |
+ gpio-export,output = <1>; | |
+ gpios = <&gpio 12 GPIO_ACTIVE_HIGH>; | |
+ }; | |
+ annexb { | |
+ gpio-export,name = "annexb"; | |
+ gpio-export,output = <1>; | |
+ gpios = <&gpio 15 GPIO_ACTIVE_HIGH>; | |
+ }; | |
+ }; | |
+ | |
gpio-leds { | |
compatible = "gpio-leds"; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment