diff options
Diffstat (limited to 'target/linux/ramips/dts/rt5350_olimex_rt5350f-olinuxino-evb.dts')
-rw-r--r-- | target/linux/ramips/dts/rt5350_olimex_rt5350f-olinuxino-evb.dts | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/rt5350_olimex_rt5350f-olinuxino-evb.dts b/target/linux/ramips/dts/rt5350_olimex_rt5350f-olinuxino-evb.dts new file mode 100644 index 0000000000..57164ea8ac --- /dev/null +++ b/target/linux/ramips/dts/rt5350_olimex_rt5350f-olinuxino-evb.dts @@ -0,0 +1,32 @@ +/dts-v1/; + +#include "rt5350_olimex_rt5350f-olinuxino.dtsi" + +#include <dt-bindings/gpio/gpio.h> + +/ { + compatible = "olimex,rt5350f-olinuxino-evb", "ralink,rt5350-soc"; + model = "Olimex RT5350F-OLinuXino-EVB"; + + gpio_export { + compatible = "gpio-export"; + #size-cells = <0>; + + relay1 { + gpio-export,name = "relay1"; + gpio-export,output = <0>; + gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; + }; + + relay2 { + gpio-export,name = "relay2"; + gpio-export,output = <0>; + gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; + }; + + button { + gpio-export,name = "button"; + gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; + }; + }; +}; |