You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
594 B
32 lines
594 B
/dts-v1/;
|
|
|
|
#include "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>;
|
|
};
|
|
};
|
|
};
|
|
|