2015-06-05 14:12:25 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2017-09-19 21:59:53 +00:00
|
|
|
#include "RT5350F-OLINUXINO.dtsi"
|
2015-06-05 14:12:25 +00:00
|
|
|
|
2017-07-29 02:14:07 +00:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
|
2015-06-05 14:12:25 +00:00
|
|
|
/ {
|
2017-07-29 02:14:07 +00:00
|
|
|
compatible = "olimex,rt5350f-olinuxino-evb", "ralink,rt5350-soc";
|
2015-08-17 05:59:29 +00:00
|
|
|
model = "Olimex RT5350F-OLinuXino-EVB";
|
2015-08-17 05:57:18 +00:00
|
|
|
|
|
|
|
gpio_export {
|
|
|
|
compatible = "gpio-export";
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
relay1 {
|
2016-02-26 08:35:35 +00:00
|
|
|
gpio-export,name = "relay1";
|
2015-08-17 05:57:18 +00:00
|
|
|
gpio-export,output = <0>;
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
|
2015-08-17 05:57:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
relay2 {
|
2016-02-26 08:35:35 +00:00
|
|
|
gpio-export,name = "relay2";
|
2015-08-17 05:57:18 +00:00
|
|
|
gpio-export,output = <0>;
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
2015-08-17 05:57:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
button {
|
|
|
|
gpio-export,name = "button";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
|
2015-08-17 05:57:18 +00:00
|
|
|
};
|
|
|
|
};
|
2015-06-05 14:12:25 +00:00
|
|
|
};
|