diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2016-11-12 14:46:32 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-11-12 21:04:15 +0100 |
commit | ebaa82a2ca1d147acaab5ab0c0f277951d10a6b5 (patch) | |
tree | 10f219b614d57e3c2854571ff8aac9c6e76c6e4d /target/linux/apm821xx/dts/apollo3g-duo.dts | |
parent | 3a112113e7ae932ca5663a0591a738b00aea4b50 (diff) | |
download | upstream-ebaa82a2ca1d147acaab5ab0c0f277951d10a6b5.tar.gz upstream-ebaa82a2ca1d147acaab5ab0c0f277951d10a6b5.tar.bz2 upstream-ebaa82a2ca1d147acaab5ab0c0f277951d10a6b5.zip |
apm821xx: consolidate apm821xx device trees files
This patch moves the common SoC device tree entries
from the currently four supported platforms into a
common apm82181.dtsi.
Furthermore, this patch also changes the GPIO, IRQ and
input definitions of the supported platforms to use the
defined dt-bindings macros for GPIO_ACTIVE_LOW|HIGH,
KEY_WPS|RESTART|*, IRQ_TYPE_* when it's appropriate.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/dts/apollo3g-duo.dts')
-rw-r--r-- | target/linux/apm821xx/dts/apollo3g-duo.dts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/apm821xx/dts/apollo3g-duo.dts b/target/linux/apm821xx/dts/apollo3g-duo.dts index 874c469b2b..53459b0cc0 100644 --- a/target/linux/apm821xx/dts/apollo3g-duo.dts +++ b/target/linux/apm821xx/dts/apollo3g-duo.dts @@ -16,3 +16,22 @@ / { model = "MyBook Live Duo"; }; + +&SATA0 { + status = "okay"; +}; + +&USBOTG0 { + status = "okay"; + dr_mode = "host"; +}; + +&GPIO1 { + enable-usb { + status = "okay"; + }; + + enable-port0 { + status = "okay"; + }; +}; |