diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-03-30 20:21:07 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-03-30 20:21:07 +0000 |
commit | f77b44605157d5eafcc9a4328a052cbccef240a5 (patch) | |
tree | 03b7560966912234aab9f39850814095407aa8b1 /target/linux/brcm63xx/dts/bcm96318ref.dts | |
parent | f644c1581ad2f48a38b497836f182bc46c7534ca (diff) | |
download | mtk-20170518-f77b44605157d5eafcc9a4328a052cbccef240a5.zip mtk-20170518-f77b44605157d5eafcc9a4328a052cbccef240a5.tar.gz mtk-20170518-f77b44605157d5eafcc9a4328a052cbccef240a5.tar.bz2 |
brcm63xx: move bcm6318 reference boards to DT
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45167
Diffstat (limited to 'target/linux/brcm63xx/dts/bcm96318ref.dts')
-rw-r--r-- | target/linux/brcm63xx/dts/bcm96318ref.dts | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/dts/bcm96318ref.dts b/target/linux/brcm63xx/dts/bcm96318ref.dts new file mode 100644 index 0000000..84b3336 --- /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>; + }; + }; +}; |