From f77b44605157d5eafcc9a4328a052cbccef240a5 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Mon, 30 Mar 2015 20:21:07 +0000 Subject: brcm63xx: move bcm6318 reference boards to DT Signed-off-by: Jonas Gorski SVN-Revision: 45167 --- target/linux/brcm63xx/dts/bcm96318ref.dts | 47 +++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 target/linux/brcm63xx/dts/bcm96318ref.dts (limited to 'target/linux/brcm63xx/dts/bcm96318ref.dts') diff --git a/target/linux/brcm63xx/dts/bcm96318ref.dts b/target/linux/brcm63xx/dts/bcm96318ref.dts new file mode 100644 index 0000000000..84b33362c9 --- /dev/null +++ b/target/linux/brcm63xx/dts/bcm96318ref.dts @@ -0,0 +1,47 @@ +/dts-v1/; + +/include/ "bcm6318.dtsi" + +/ { + model = "Broadcom BCM96318REF reference board"; + compatible = "brcm,bcm96318ref", "brcm,bcm6318"; + + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + debounce-interval = <60>; + + wps { + label = "wps"; + gpios = <&gpio1 1 1>; + linux,code = <0x211>; + }; + + reset { + label = "reset"; + gpios = <&gpio1 2 1>; + linux,code = <0x198>; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + + inet { + label = "96318REF:green:inet"; + gpios = <&gpio0 8 1>; + }; + + inet_fail { + label = "96318REF:red:inet-fail"; + gpios = <&gpio0 9 1>; + }; + + post_failed { + label = "96318REF:red:post-failed"; + gpios = <&gpio0 11 1>; + }; + }; +}; -- cgit v1.2.3