5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "d-team,pbr-m1", "mediatek,mt7621-soc";
14 led-failsafe = &led_sys;
15 led-running = &led_sys;
16 led-upgrade = &led_sys;
20 device_type = "memory";
21 reg = <0x0 0x10000000>;
25 bootargs = "console=ttyS0,115200";
28 palmbus: palmbus@1E000000 {
34 compatible = "nxp,pcf8563";
41 compatible = "gpio-leds";
44 label = "pbr-m1:blue:power";
45 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
50 label = "pbr-m1:blue:sys";
51 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
55 label = "pbr-m1:blue:internet";
56 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
60 label = "pbr-m1:blue:wlan2g";
61 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
65 label = "pbr-m1:blue:wlan5g";
66 gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
71 compatible = "gpio-keys-polled";
76 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_RESTART>;
82 compatible = "gpio-export";
86 gpio-export,name = "power_usb2";
87 gpio-export,output = <1>;
88 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
92 gpio-export,name = "power_usb3";
93 gpio-export,output = <1>;
94 gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
98 gpio-export,name = "power_sata";
99 gpio-export,output = <1>;
100 gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
105 compatible = "gpio-beeper";
106 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
118 compatible = "jedec,spi-nor";
120 spi-max-frequency = <10000000>;
121 m25p,chunked-io = <32>;
124 compatible = "fixed-partitions";
125 #address-cells = <1>;
135 label = "u-boot-env";
136 reg = <0x30000 0x10000>;
140 factory: partition@40000 {
142 reg = <0x40000 0x10000>;
148 reg = <0x50000 0xfb0000>;
160 reg = <0x0000 0 0 0 0>;
161 mediatek,mtd-eeprom = <&factory 0x8000>;
162 ieee80211-freq-limit = <5000000 6000000>;
168 reg = <0x0000 0 0 0 0>;
169 mediatek,mtd-eeprom = <&factory 0x0000>;
174 mtd-mac-address = <&factory 0xe000>;
178 state_default: pinctrl0 {
180 ralink,group = "wdt", "rgmii2", "jtag", "mdio";
181 ralink,function = "gpio";