ramips: fix dtc warnings
[openwrt/openwrt.git] / target / linux / ramips / dts / PX-4885.dtsi
1 #include "rt5350.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 compatible = "7links,px-4885", "ralink,rt5350-soc";
8
9 aliases {
10 led-status = &led_wifi;
11 };
12
13 gpio-keys-polled {
14 compatible = "gpio-keys-polled";
15 poll-interval = <20>;
16
17 reset {
18 label = "reset";
19 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
20 linux,code = <KEY_RESTART>;
21 };
22 };
23
24 gpio-leds {
25 compatible = "gpio-leds";
26
27 led_wifi: wifi {
28 label = "px-4885:orange:wifi";
29 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
30 };
31
32 storage {
33 label = "px-4885:blue:storage";
34 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
35 };
36 };
37 };
38
39 &pinctrl {
40 state_default: pinctrl0 {
41 gpio {
42 ralink,group = "i2c", "jtag", "uartf";
43 ralink,function = "gpio";
44 };
45 };
46 };
47
48 &ethernet {
49 mtd-mac-address = <&factory 0x28>;
50 };
51
52 &esw {
53 mediatek,portmap = <0x3f>;
54 };
55
56 &wmac {
57 ralink,mtd-eeprom = <&factory 0>;
58 };