blob: dae5324f0aa98c38552fac42529d536a56dfd941 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#include "bcm6338.dtsi"
2
3#include <dt-bindings/input/input.h>
4
5/ {
6 model = "D-Link DSL-2640U/BRU/C";
7 compatible = "d-link,dsl-2640u", "brcm,bcm6338";
8
9 chosen {
10 bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
11 stdout-path = "serial0:115200n8";
12 };
13
14 leds {
15 compatible = "gpio-leds";
16
17 green_power {
18 label = "green:power";
19 gpios = <&gpio0 0 1>;
20 default-state = "on";
21 };
22
23 green_stop {
24 label = "green:ppp";
25 gpios = <&gpio0 4 1>;
26 };
27
28 green_adsl {
29 label = "green:ppp-fail";
30 gpios = <&gpio0 5 1>;
31 };
32 };
33};
34
35&pflash {
36 status = "okay";
37
38 partitions {
39 compatible = "fixed-partitions";
40 #address-cells = <1>;
41 #size-cells = <1>;
42
43 cfe@0 {
44 label = "CFE";
45 reg = <0x000000 0x010000>;
46 read-only;
47 };
48
49 linux@10000 {
50 label = "linux";
51 reg = <0x010000 0x3e0000>;
52 compatible = "brcm,bcm963xx-imagetag";
53 };
54
55 nvram@3f0000 {
56 label = "nvram";
57 reg = <0x3f0000 0x010000>;
58 };
59 };
60};
61
62&uart0 {
63 status = "okay";
64};