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