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 compatible = "gpio-leds";
31 label = "pbr-d1:orange:usb";
32 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
33 trigger-sources = <&ohci_port1>, <&ehci_port1>;
34 linux,default-trigger = "usbport";
38 label = "pbr-d1:orange:power";
39 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-keys-polled";
50 gpios = <&gpio1 38 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
56 compatible = "mediatek,gpio-wifi";
65 state_default: pinctrl0 {
67 ralink,group = "gpio";
68 ralink,function = "gpio";
73 ralink,function = "gpio";
78 ralink,function = "gpio";
82 ralink,group = "spis";
83 ralink,function = "gpio";
88 ralink,function = "gpio";
96 pinctrl-names = "default";
97 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
100 compatible = "jedec,spi-nor";
102 spi-max-frequency = <40000000>;
105 compatible = "fixed-partitions";
106 #address-cells = <1>;
116 label = "u-boot-env";
117 reg = <0x30000 0x10000>;
120 factory: partition@40000 {
122 reg = <0x40000 0x10000>;
127 compatible = "denx,uimage";
129 reg = <0x50000 0x0fb0000>;
135 #address-cells = <1>;
137 compatible = "linux,spidev";
139 spi-max-frequency = <40000000>;
160 mtd-mac-address = <&factory 0x28>;