brcm63xx: drop linux,part-probe usage where possible
[oweals/openwrt.git] / target / linux / brcm63xx / dts / a4001n.dts
1 /dts-v1/;
2
3 #include "bcm6328.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "ADB P.DG A4001N";
9         compatible = "adb,a4001n", "brcm,bcm6328";
10
11         chosen {
12                 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13                 stdout-path = "serial0:115200n8";
14         };
15
16         gpio-keys-polled {
17                 compatible = "gpio-keys-polled";
18                 #address-cells = <1>;
19                 #size-cells = <0>;
20                 poll-interval = <20>;
21                 debounce-interval = <60>;
22
23                 reset {
24                         label = "reset";
25                         gpios = <&pinctrl 23 1>;
26                         linux,code = <KEY_RESTART>;
27                 };
28                 wps {
29                         label = "wps";
30                         gpios = <&pinctrl 24 1>;
31                         linux,code = <KEY_WPS_BUTTON>;
32                 };
33         };
34
35         gpio-leds {
36                 compatible = "gpio-leds";
37
38                 inet_red {
39                         label = "A4001N:red:inet";
40                         gpios = <&pinctrl 1 0>;
41                 };
42                 power_red {
43                         label = "A4001N:red:power";
44                         gpios = <&pinctrl 4 0>;
45                 };
46                 power_green {
47                         label = "A4001N:green:power";
48                         gpios = <&pinctrl 8 0>;
49                         default-state = "on";
50                 };
51                 usb_green {
52                         label = "A4001N:green:usb";
53                         gpios = <&pinctrl 10 1>;
54                 };
55                 dsl_green {
56                         label = "A4001N:green:dsl";
57                         gpios = <&pinctrl 11 1>;
58                 };
59         };
60 };
61
62 &hsspi {
63         status = "ok";
64
65         flash@0 {
66                 compatible = "jedec,spi-nor";
67                 spi-max-frequency = <16666667>;
68                 spi-tx-bus-width = <2>;
69                 spi-rx-bus-width = <2>;
70                 reg = <0>;
71
72                 partitions {
73                         compatible = "fixed-partitions";
74                         #address-cells = <1>;
75                         #size-cells = <1>;
76
77                         cfe@0 {
78                                 reg = <0x000000 0x010000>;
79                                 label = "cfe";
80                                 read-only;
81                         };
82
83                         linux@10000 {
84                                 reg = <0x010000 0x7e0000>;
85                                 label = "linux";
86                                 compatible = "brcm,bcm963xx-imagetag";
87                         };
88
89                         nvram@7f0000 {
90                                 reg = <0x7f0000 0x010000>;
91                                 label = "nvram";
92                         };
93                 };
94         };
95 };
96
97 &uart0 {
98         status = "ok";
99 };