bcm63xx: move dts-v1 statement to top-level DTSI files
[openwrt/openwrt.git] / target / linux / bcm63xx / dts / bcm6348-d-link-dsl-2640b-b.dts
1 #include "bcm6348.dtsi"
2
3 #include <dt-bindings/input/input.h>
4
5 / {
6 model = "D-Link DSL-2640B rev B2";
7 compatible = "d-link,dsl-2640b-b", "brcm,bcm6348";
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 7 1>;
30 linux,code = <KEY_RESTART>;
31 debounce-interval = <60>;
32 };
33 };
34
35 leds {
36 compatible = "gpio-leds";
37
38 led_power_green: power_green {
39 label = "green:power";
40 gpios = <&pinctrl 0 1>;
41 default-state = "on";
42 };
43 status {
44 label = "status";
45 gpios = <&pinctrl 3 1>;
46 };
47 inet_green {
48 label = "green:internet";
49 gpios = <&pinctrl 4 1>;
50 };
51 inet_red {
52 label = "red:internet";
53 gpios = <&pinctrl 5 1>;
54 };
55 };
56 };
57
58 &pflash {
59 status = "okay";
60
61 partitions {
62 compatible = "fixed-partitions";
63 #address-cells = <1>;
64 #size-cells = <1>;
65
66 cfe@0 {
67 label = "CFE";
68 reg = <0x000000 0x010000>;
69 read-only;
70 };
71
72 linux@10000 {
73 label = "linux";
74 reg = <0x010000 0x3e0000>;
75 compatible = "brcm,bcm963xx-imagetag";
76 };
77
78 nvram@3f0000 {
79 label = "nvram";
80 reg = <0x3f0000 0x010000>;
81 };
82 };
83 };
84
85 &pinctrl {
86 pinctrl-names = "default";
87 pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii>;
88 };
89
90 &uart0 {
91 status = "okay";
92 };