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