aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/RT5350F-OLINUXINO-EVB.dts
blob: 5c7b3c7c423f7e8a8d6749ec01928b0d20655ab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/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>;
		};
	};
};