3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "d-team,pbr-d1", "mediatek,mt7628an-soc";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 bootargs = "console=ttyS0,115200";
28 device_type = "memory";
29 reg = <0x0 0x8000000>;
33 compatible = "gpio-leds";
36 label = "pbr-d1:orange:usb";
37 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
38 trigger-sources = <&ohci_port1>, <&ehci_port1>;
39 linux,default-trigger = "usbport";
43 label = "pbr-d1:orange:power";
44 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
50 compatible = "gpio-keys-polled";
55 gpios = <&gpio1 38 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_RESTART>;
61 compatible = "mediatek,gpio-wifi";
70 state_default: pinctrl0 {
72 ralink,group = "gpio";
73 ralink,function = "gpio";
78 ralink,function = "gpio";
83 ralink,function = "gpio";
87 ralink,group = "spis";
88 ralink,function = "gpio";
93 ralink,function = "gpio";
101 pinctrl-names = "default";
102 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
105 compatible = "jedec,spi-nor";
107 spi-max-frequency = <40000000>;
110 compatible = "fixed-partitions";
111 #address-cells = <1>;
121 label = "u-boot-env";
122 reg = <0x30000 0x10000>;
125 factory: partition@40000 {
127 reg = <0x40000 0x10000>;
132 compatible = "denx,uimage";
134 reg = <0x50000 0x0fb0000>;
140 #address-cells = <1>;
142 compatible = "linux,spidev";
144 spi-max-frequency = <40000000>;
165 mtd-mac-address = <&factory 0x28>;