#include "bcm6358.dtsi"

#include <dt-bindings/input/input.h>

/ {
	model = "Broadcom BCM96358VW reference board";
	compatible = "brcm,bcm96358vw", "brcm,bcm6358";

	chosen {
		bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
		stdout-path = "serial0:115200n8";
	};

	leds {
		compatible = "gpio-leds";

		power_green {
			label = "green:power";
			gpios = <&pinctrl 4 0>;
			default-state = "on";
		};
		stop_green {
			label = "green:stop";
			gpios = <&pinctrl 5 0>;
		};
		adsl_fail_green {
			label = "green:adsl-fail";
			gpios = <&pinctrl 15 1>;
		};
		ppp_green {
			label = "green:ppp";
			gpios = <&pinctrl 22 1>;
		};
		ppp_fail_green {
			label = "green:ppp-fail";
			gpios = <&pinctrl 23 1>;
		};
	};
};

&pflash {
	status = "okay";

	partitions {
		compatible = "brcm,bcm963xx-cfe-nor-partitions";
	};
};

&uart0 {
	status = "okay";
};