5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "d-team,pbr-m1", "mediatek,mt7621-soc";
13 device_type = "memory";
14 reg = <0x0 0x10000000>;
18 bootargs = "console=ttyS0,115200";
21 palmbus: palmbus@1E000000 {
27 compatible = "nxp,pcf8563";
34 compatible = "gpio-leds";
37 label = "pbr-m1:blue:power";
38 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
42 label = "pbr-m1:blue:sys";
43 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
47 label = "pbr-m1:blue:internet";
48 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
52 label = "pbr-m1:blue:wlan2g";
53 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
57 label = "pbr-m1:blue:wlan5g";
58 gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
63 compatible = "gpio-keys-polled";
70 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
71 linux,code = <KEY_RESTART>;
76 compatible = "gpio-export";
80 gpio-export,name = "power_usb2";
81 gpio-export,output = <1>;
82 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
86 gpio-export,name = "power_usb3";
87 gpio-export,output = <1>;
88 gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
92 gpio-export,name = "power_sata";
93 gpio-export,output = <1>;
94 gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
99 compatible = "gpio-beeper";
100 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&sdhci_pins>;
114 #address-cells = <1>;
116 compatible = "jedec,spi-nor";
118 spi-max-frequency = <10000000>;
119 m25p,chunked-io = <32>;
128 label = "u-boot-env";
129 reg = <0x30000 0x10000>;
133 factory: partition@40000 {
135 reg = <0x40000 0x10000>;
141 reg = <0x50000 0xfb0000>;
151 reg = <0x0000 0 0 0 0>;
153 mediatek,mtd-eeprom = <&factory 0x8000>;
154 ieee80211-freq-limit = <5000000 6000000>;
160 reg = <0x0000 0 0 0 0>;
162 mediatek,mtd-eeprom = <&factory 0x0000>;
168 mtd-mac-address = <&factory 0xe000>;
172 state_default: pinctrl0 {
174 ralink,group = "wdt", "rgmii2", "jtag", "mdio";
175 ralink,function = "gpio";