diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2018-03-06 17:19:33 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2018-03-08 02:25:56 +0100 |
commit | fb72c03e0e32068a0a2ff66c2787814142d9a211 (patch) | |
tree | 346699c981cb34972b74880eaa29212e53c83765 /arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts | |
parent | ARM64: dts: meson: reduce odroid-c2 eMMC maximum rate (diff) | |
download | linux-fb72c03e0e32068a0a2ff66c2787814142d9a211.tar.xz linux-fb72c03e0e32068a0a2ff66c2787814142d9a211.zip |
ARM64: dts: meson-gxbb-wetek: add a wetek specific dtsi to cleanup hub and play2
This patch adds a specific wetek dtsi to handle the specific Hub and Play2
boards by no more depending on the p20x dtsi.
This simplifies the hub and play2 dts and will avoid breaking these
boards when adding p200 and p201 specific changes.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts')
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts | 83 |
1 files changed, 5 insertions, 78 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts index 0d1f080cbb3e..0038522315de 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-wetek-play2.dts @@ -6,7 +6,7 @@ /dts-v1/; -#include "meson-gxbb-p20x.dtsi" +#include "meson-gxbb-wetek.dtsi" #include <dt-bindings/input/input.h> / { @@ -14,15 +14,6 @@ model = "WeTek Play 2"; leds { - compatible = "gpio-leds"; - - system { - label = "wetek-play:system-status"; - gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>; - default-state = "on"; - panic-indicator; - }; - wifi { label = "wetek-play:wifi-status"; gpios = <&gpio GPIODV_26 GPIO_ACTIVE_HIGH>; @@ -48,82 +39,18 @@ gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_LOW>; }; }; - - cvbs-connector { - compatible = "composite-video-connector"; - - port { - cvbs_connector_in: endpoint { - remote-endpoint = <&cvbs_vdac_out>; - }; - }; - }; - - hdmi-connector { - compatible = "hdmi-connector"; - type = "a"; - - port { - hdmi_connector_in: endpoint { - remote-endpoint = <&hdmi_tx_tmds_out>; - }; - }; - }; -}; - -&cec_AO { - status = "okay"; - pinctrl-0 = <&ao_cec_pins>; - pinctrl-names = "default"; - hdmi-phandle = <&hdmi_tx>; -}; - -&cvbs_vdac_port { - cvbs_vdac_out: endpoint { - remote-endpoint = <&cvbs_connector_in>; - }; }; -ðmac { +&i2c_A { status = "okay"; - pinctrl-0 = <ð_rgmii_pins>; + pinctrl-0 = <&i2c_a_pins>; pinctrl-names = "default"; - - phy-handle = <ð_phy0>; - phy-mode = "rgmii"; - - amlogic,tx-delay-ns = <2>; - - snps,reset-gpio = <&gpio GPIOZ_14 0>; - snps,reset-delays-us = <0 10000 1000000>; - snps,reset-active-low; - - mdio { - compatible = "snps,dwmac-mdio"; - #address-cells = <1>; - #size-cells = <0>; - - eth_phy0: ethernet-phy@0 { - /* Realtek RTL8211F (0x001cc916) */ - reg = <0>; - }; - }; }; -&hdmi_tx { +&usb1_phy { status = "okay"; - pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; - pinctrl-names = "default"; }; -&hdmi_tx_tmds_port { - hdmi_tx_tmds_out: endpoint { - remote-endpoint = <&hdmi_connector_in>; - }; -}; - -&i2c_A { +&usb1 { status = "okay"; - pinctrl-0 = <&i2c_a_pins>; - pinctrl-names = "default"; }; |