Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
31 lines
597 B
Plaintext
31 lines
597 B
Plaintext
#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>;
|
|
};
|
|
};
|
|
};
|