bcm63xx: move dts-v1 statement to top-level DTSI files
[openwrt/staging/mkresin.git] / target / linux / bcm63xx / dts / bcm6358-pirelli-agpf-s0.dts
1 #include "bcm6358.dtsi"
2
3 #include <dt-bindings/input/input.h>
4
5 / {
6 model = "Pirelli Alice Gate AGPF-S0";
7 compatible = "pirelli,agpf-s0", "brcm,bcm6358";
8
9 chosen {
10 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
11 stdout-path = "serial0:115200n8";
12 };
13
14 keys {
15 compatible = "gpio-keys-polled";
16 #address-cells = <1>;
17 #size-cells = <0>;
18 poll-interval = <20>;
19
20 wps {
21 label = "wps";
22 gpios = <&pinctrl 34 1>;
23 linux,code = <KEY_WPS_BUTTON>;
24 debounce-interval = <60>;
25 };
26
27 reset {
28 label = "reset";
29 gpios = <&pinctrl 37 1>;
30 linux,code = <KEY_RESTART>;
31 debounce-interval = <60>;
32 };
33 };
34
35 leds {
36 compatible = "gpio-leds";
37
38 power_green {
39 label = "green:power";
40 gpios = <&pinctrl 4 1>;
41 default-state = "on";
42 };
43 power_red {
44 label = "red:power";
45 gpios = <&pinctrl 5 1>;
46 };
47 service_green {
48 label = "green:service";
49 gpios = <&pinctrl 6 1>;
50 };
51 service_red {
52 label = "red:service";
53 gpios = <&pinctrl 7 1>;
54 };
55 dsl_green {
56 label = "green:adsl";
57 gpios = <&pinctrl 9 1>;
58 };
59 dsl_red {
60 label = "red:adsl";
61 gpios = <&pinctrl 10 1>;
62 };
63 wifi_green {
64 label = "green:wifi";
65 gpios = <&pinctrl 22 1>;
66 };
67 wifi_red {
68 label = "red:wifi";
69 gpios = <&pinctrl 23 1>;
70 };
71 inet_red {
72 label = "red:internet";
73 gpios = <&pinctrl 24 1>;
74 };
75 inet_green {
76 label = "green:internet";
77 gpios = <&pinctrl 25 1>;
78 };
79 usr1_green {
80 label = "green:usr1";
81 gpios = <&pinctrl 26 1>;
82 };
83 usr1_red {
84 label = "red:usr1";
85 gpios = <&pinctrl 27 1>;
86 };
87 usr2_green {
88 label = "green:usr2";
89 gpios = <&pinctrl 29 1>;
90 };
91 usr2_red {
92 label = "red:usr2";
93 gpios = <&pinctrl 30 1>;
94 };
95 };
96 };
97
98 &pflash {
99 status = "okay";
100
101 partitions {
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
104 #size-cells = <1>;
105
106 cfe@0 {
107 label = "CFE";
108 reg = <0x000000 0x020000>;
109 read-only;
110 };
111
112 linux@20000 {
113 label = "linux";
114 reg = <0x020000 0xfc0000>;
115 compatible = "brcm,bcm963xx-imagetag";
116 };
117
118 nvram@fe0000 {
119 label = "nvram";
120 reg = <0xfe0000 0x020000>;
121 };
122 };
123 };
124
125 &uart0 {
126 status = "okay";
127 };