2015-07-16 11:15:02 +00:00
|
|
|
#include "bcm6338.dtsi"
|
|
|
|
|
|
|
|
#include <dt-bindings/input/input.h>
|
2024-02-07 13:48:35 +00:00
|
|
|
#include <dt-bindings/leds/common.h>
|
2015-03-25 15:35:37 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "D-Link DSL-2640U/BRU/C";
|
|
|
|
compatible = "d-link,dsl-2640u", "brcm,bcm6338";
|
|
|
|
|
2015-09-12 19:52:43 +00:00
|
|
|
chosen {
|
2018-02-13 11:19:29 +00:00
|
|
|
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
2017-07-31 19:03:37 +00:00
|
|
|
stdout-path = "serial0:115200n8";
|
2015-09-12 19:52:43 +00:00
|
|
|
};
|
|
|
|
|
2018-12-30 11:42:53 +00:00
|
|
|
leds {
|
2015-03-25 15:35:37 +00:00
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
green_power {
|
2024-02-07 13:48:35 +00:00
|
|
|
function = LED_FUNCTION_POWER;
|
|
|
|
color = <LED_COLOR_ID_GREEN>;
|
2015-03-25 15:35:37 +00:00
|
|
|
gpios = <&gpio0 0 1>;
|
|
|
|
default-state = "on";
|
|
|
|
};
|
|
|
|
|
|
|
|
green_stop {
|
2020-10-10 17:44:02 +00:00
|
|
|
label = "green:ppp";
|
2015-03-25 15:35:37 +00:00
|
|
|
gpios = <&gpio0 4 1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
green_adsl {
|
2020-10-10 17:44:02 +00:00
|
|
|
label = "green:ppp-fail";
|
2015-03-25 15:35:37 +00:00
|
|
|
gpios = <&gpio0 5 1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&pflash {
|
2020-05-11 09:49:43 +00:00
|
|
|
status = "okay";
|
2015-03-25 15:35:37 +00:00
|
|
|
|
2017-06-28 08:44:38 +00:00
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2015-03-25 15:35:37 +00:00
|
|
|
|
2017-06-28 08:44:38 +00:00
|
|
|
cfe@0 {
|
|
|
|
label = "CFE";
|
|
|
|
reg = <0x000000 0x010000>;
|
|
|
|
read-only;
|
|
|
|
};
|
2015-03-25 15:35:37 +00:00
|
|
|
|
2017-06-28 08:44:38 +00:00
|
|
|
linux@10000 {
|
|
|
|
label = "linux";
|
|
|
|
reg = <0x010000 0x3e0000>;
|
|
|
|
compatible = "brcm,bcm963xx-imagetag";
|
|
|
|
};
|
|
|
|
|
|
|
|
nvram@3f0000 {
|
|
|
|
label = "nvram";
|
|
|
|
reg = <0x3f0000 0x010000>;
|
|
|
|
};
|
2015-03-25 15:35:37 +00:00
|
|
|
};
|
|
|
|
};
|
2017-07-31 19:03:37 +00:00
|
|
|
|
|
|
|
&uart0 {
|
2020-05-11 09:49:43 +00:00
|
|
|
status = "okay";
|
2017-07-31 19:03:37 +00:00
|
|
|
};
|