mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
c98819a9e6
The "/dts-v1/;" identifier is supposed to be present once at the top of a device tree file after the includes have been processed. Like done for other targets recently, put the dts-v1 statement into the top-level SoC-based DTSI files, and remove all other occurences. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
52 lines
847 B
Plaintext
52 lines
847 B
Plaintext
#include "bcm6338.dtsi"
|
|
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
/ {
|
|
model = "Broadcom BCM96338GW reference board";
|
|
compatible = "brcm,bcm96338gw", "brcm,bcm6338";
|
|
|
|
chosen {
|
|
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
power_green {
|
|
label = "green:power";
|
|
gpios = <&gpio0 0 1>;
|
|
default-state = "on";
|
|
};
|
|
stop_green {
|
|
label = "green:stop";
|
|
gpios = <&gpio0 1 1>;
|
|
};
|
|
dsl_green {
|
|
label = "green:adsl";
|
|
gpios = <&gpio0 3 1>;
|
|
};
|
|
ppp_fail_green {
|
|
label = "green:ppp-fail";
|
|
gpios = <&gpio0 4 1>;
|
|
};
|
|
ses_green {
|
|
label = "green:ses";
|
|
gpios = <&gpio0 5 1>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&pflash {
|
|
status = "okay";
|
|
|
|
partitions {
|
|
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
};
|