1 #include "mt7628an.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "d-team,pbr-d1", "mediatek,mt7628an-soc";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 bootargs = "console=ttyS0,115200";
27 compatible = "gpio-leds";
30 function = LED_FUNCTION_USB;
31 color = <LED_COLOR_ID_ORANGE>;
32 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
33 trigger-sources = <&ohci_port1>, <&ehci_port1>;
34 linux,default-trigger = "usbport";
38 function = LED_FUNCTION_POWER;
39 color = <LED_COLOR_ID_ORANGE>;
40 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-keys";
50 gpios = <&gpio 70 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
56 compatible = "mediatek,gpio-wifi";
94 pinctrl-names = "default";
95 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
98 compatible = "jedec,spi-nor";
100 spi-max-frequency = <40000000>;
103 compatible = "fixed-partitions";
104 #address-cells = <1>;
114 label = "u-boot-env";
115 reg = <0x30000 0x10000>;
120 reg = <0x40000 0x10000>;
124 compatible = "fixed-layout";
125 #address-cells = <1>;
128 macaddr_factory_28: macaddr@28 {
135 compatible = "denx,uimage";
137 reg = <0x50000 0x0fb0000>;
143 #address-cells = <1>;
145 compatible = "linux,spidev";
147 spi-max-frequency = <40000000>;
168 nvmem-cells = <&macaddr_factory_28>;
169 nvmem-cell-names = "mac-address";