brcm47xx: rename target to bcm47xx
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm6368-adb-av4202n.dts
1 /dts-v1/;
2
3 #include "bcm6368.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9 model = "ADB P.DG AV4202N";
10 compatible = "adb,av4202n", "brcm,bcm6368";
11
12 chosen {
13 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
14 stdout-path = "serial0:115200n8";
15 };
16
17 keys {
18 compatible = "gpio-keys-polled";
19 #address-cells = <1>;
20 #size-cells = <0>;
21 poll-interval = <20>;
22
23 reset {
24 label = "reset";
25 gpios = <&pinctrl 34 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_RESTART>;
27 debounce-interval = <60>;
28 };
29
30 wlan {
31 label = "wlan";
32 gpios = <&pinctrl 37 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_WLAN>;
34 debounce-interval = <60>;
35 };
36 };
37
38 leds {
39 compatible = "gpio-leds";
40
41 power_white {
42 label = "AV4202N:white:power";
43 gpios = <&pinctrl 10 GPIO_ACTIVE_LOW>;
44 default-state = "on";
45 };
46 power_red {
47 label = "AV4202N:red:power";
48 gpios = <&pinctrl 11 GPIO_ACTIVE_LOW>;
49 };
50 wan_white {
51 label = "AV4202N:white:wan";
52 gpios = <&pinctrl 26 GPIO_ACTIVE_LOW>;
53 };
54 wan_red {
55 label = "AV4202N:red:wan";
56 gpios = <&pinctrl 27 GPIO_ACTIVE_LOW>;
57 };
58 phone_white {
59 label = "AV4202N:white:phone";
60 gpios = <&pinctrl 24 GPIO_ACTIVE_LOW>;
61 };
62 phone_red {
63 label = "AV4202N:red:phone";
64 gpios = <&pinctrl 25 GPIO_ACTIVE_LOW>;
65 };
66 wifi {
67 label = "AV4202N:blue:wifi";
68 gpios = <&pinctrl 22 GPIO_ACTIVE_LOW>;
69 };
70 };
71 };
72
73 &pflash {
74 status = "ok";
75
76 partitions {
77 compatible = "fixed-partitions";
78 #address-cells = <1>;
79 #size-cells = <1>;
80
81 cfe@0 {
82 label = "CFE";
83 reg = <0x000000 0x020000>;
84 read-only;
85 };
86
87 linux@20000 {
88 label = "linux";
89 reg = <0x020000 0xfc0000>;
90 compatible = "brcm,bcm963xx-imagetag";
91 };
92
93 nvram@fe0000 {
94 label = "nvram";
95 reg = <0xfe0000 0x020000>;
96 };
97 };
98 };
99
100 &uart0 {
101 status = "ok";
102 };