2017-09-06 19:19:45 +08:00
|
|
|
#include "bcm6318.dtsi"
|
|
|
|
|
|
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Broadcom BCM96318REF_P300 reference board";
|
2020-07-02 23:30:56 +08:00
|
|
|
compatible = "brcm,bcm96318ref-p300", "brcm,bcm6318";
|
2017-09-06 19:19:45 +08:00
|
|
|
|
|
|
|
chosen {
|
2018-04-23 18:50:49 +08:00
|
|
|
bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
|
2017-12-25 10:45:33 +08:00
|
|
|
stdout-path = "serial0:115200n8";
|
2017-09-06 19:19:45 +08:00
|
|
|
};
|
|
|
|
|
2019-11-22 09:25:25 -08:00
|
|
|
keys {
|
2017-09-06 19:19:45 +08:00
|
|
|
compatible = "gpio-keys-polled";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
poll-interval = <20>;
|
|
|
|
|
|
|
|
wps {
|
|
|
|
label = "wps";
|
|
|
|
gpios = <&pinctrl 33 1>;
|
|
|
|
linux,code = <KEY_WPS_BUTTON>;
|
2019-01-03 19:29:28 +08:00
|
|
|
debounce-interval = <60>;
|
2017-09-06 19:19:45 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
reset {
|
|
|
|
label = "reset";
|
|
|
|
gpios = <&pinctrl 34 1>;
|
|
|
|
linux,code = <KEY_RESTART>;
|
2019-01-03 19:29:28 +08:00
|
|
|
debounce-interval = <60>;
|
2017-09-06 19:19:45 +08:00
|
|
|
};
|
2018-09-07 13:43:55 +08:00
|
|
|
};
|
2017-09-06 19:19:45 +08:00
|
|
|
|
2019-11-22 09:25:25 -08:00
|
|
|
leds {
|
2017-09-06 19:19:45 +08:00
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
inet {
|
2021-06-14 18:30:08 +08:00
|
|
|
label = "green:inet";
|
2017-09-06 19:19:45 +08:00
|
|
|
gpios = <&pinctrl 8 1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
inet_fail {
|
2021-06-14 18:30:08 +08:00
|
|
|
label = "red:inet-fail";
|
2017-09-06 19:19:45 +08:00
|
|
|
gpios = <&pinctrl 9 1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
post_failed {
|
2021-06-14 18:30:08 +08:00
|
|
|
label = "red:post-failed";
|
2017-09-06 19:19:45 +08:00
|
|
|
gpios = <&pinctrl 11 1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb_pwron {
|
2021-06-14 18:30:08 +08:00
|
|
|
label = "usb-pwron";
|
2017-09-06 19:19:45 +08:00
|
|
|
gpios = <&pinctrl 13 1>;
|
|
|
|
default-state = "on";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&hsspi {
|
2020-07-02 23:30:56 +08:00
|
|
|
status = "okay";
|
2017-09-06 19:19:45 +08:00
|
|
|
|
|
|
|
flash@0 {
|
|
|
|
compatible = "jedec,spi-nor";
|
|
|
|
spi-max-frequency = <62500000>;
|
|
|
|
spi-tx-bus-width = <2>;
|
|
|
|
spi-rx-bus-width = <2>;
|
|
|
|
reg = <0>;
|
|
|
|
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
2018-04-23 18:50:49 +08:00
|
|
|
partitions {
|
|
|
|
compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
|
|
|
};
|
2017-09-06 19:19:45 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pinctrl_usb_pwron>;
|
|
|
|
};
|
2017-12-25 10:45:33 +08:00
|
|
|
|
|
|
|
&uart0 {
|
2020-07-02 23:30:56 +08:00
|
|
|
status = "okay";
|
2017-12-25 10:45:33 +08:00
|
|
|
};
|