5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "allnet,all5002", "ralink,rt3352-soc";
10 model = "Allnet ALL5002";
16 compatible = "i2c-gpio";
17 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH &gpio0 2 GPIO_ACTIVE_HIGH>;
18 i2c-gpio,delay-us = <10>;
22 compatible = "inxp,pcf8574a";
28 compatible = "national,lm92";
34 compatible = "gpio-leds";
37 label = "all5002:green:ld1";
38 gpios = <&pcf0 0 GPIO_ACTIVE_LOW>;
42 label = "all5002:green:ld2";
43 gpios = <&pcf0 1 GPIO_ACTIVE_LOW>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <10000000>;
61 compatible = "fixed-partitions";
73 reg = <0x30000 0x10000>;
77 factory: partition@40000 {
79 reg = <0x40000 0x10000>;
84 compatible = "denx,uimage";
86 reg = <0x50000 0x1fb0000>;
93 state_default: pinctrl0 {
95 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
96 ralink,function = "gpio";
102 mtd-mac-address = <&factory 0x28>;
106 mediatek,portmap = <0x3f>;
110 ralink,mtd-eeprom = <&factory 0>;