ARM64: Add Vega S96 board support
Subsystems (2)
v2 cover ARM64: Add Vega S96 board support
This patchset adds support for the Tronsmart Vega S96 TV Box based on the Q200 Amlogic Reference design.
Changes since v1 at [1] :
- Add acks
- Cleanup external_phy node
[1] https://lkml.kernel.org/r/1505822748-23431-1-git-send-email-narmstrong at baylibre.com
Neil Armstrong (2):
ARM64: dts: meson-gxm: Add Vega S96 board
dt-bindings: arm: amlogic: Add Tronsmart Vega S96 binding
Documentation/devicetree/bindings/arm/amlogic.txt | 1 + arch/arm64/boot/dts/amlogic/Makefile | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts | 38 ++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts
Signature · 1 line
2.7.4
PATCH v2 1/2 ARM64: dts: meson-gxm: Add Vega S96 board
The Tronsmart Vega S96 is a TV box derived from Amlogic q200 reference design.
--- arch/arm64/boot/dts/amlogic/Makefile | 1 + arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts
arch/arm64/boot/dts/amlogic/Makefile +1 -0
@@ -19,6 +19,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q200.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q201.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxm-rbox-pro.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxm-vega-s96.dtb always := $(dtb-y) subdir-y := $(dts-dirs)
arch/arm64/boot/dts/amlogic/meson-gxm-vega-s96.dts new file +38 -0
@@ -0,0 +1,38 @@ +/* + * Copyright (c) 2017 BayLibre, SAS. + * Author: Neil Armstrong <[email protected]> + * Copyright (c) 2017 Oleg <[email protected]> + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; + +#include "meson-gxm.dtsi" +#include "meson-gx-p23x-q20x.dtsi" + +/ { + compatible = "tronsmart,vega-s96", "amlogic,s912", "amlogic,meson-gxm"; + model = "Tronsmart Vega S96"; + +}; + +ðmac { + pinctrl-0 = <ð_pins>; + pinctrl-names = "default"; + + /* Select external PHY by default */ + phy-handle = <&external_phy>; + + amlogic,tx-delay-ns = <2>; + + /* External PHY is in RGMII */ + phy-mode = "rgmii"; +}; + +&external_mdio { + external_phy: ethernet-phy at 0 { + /* Realtek RTL8211F (0x001cc916) */ + reg = <0>; + }; +};
Signature · 1 line
2.7.4
PATCH v2 2/2 dt-bindings: arm: amlogic: Add Tronsmart Vega S96 binding
In reply to Neil Armstrong--- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/amlogic.txt +1 -0
@@ -73,6 +73,7 @@ Board compatible values (alphabetically, grouped by SoC): - "amlogic,q201" (Meson gxm s912) - "kingnovel,r-box-pro" (Meson gxm S912) - "nexbox,a1" (Meson gxm s912) + - "tronsmart,vega-s96" (Meson gxm s912) Amlogic Meson Firmware registers Interface ------------------------------------------
Signature · 1 line
2.7.4
Rob Herring
maintainerRe: [PATCH v2 2/2] dt-bindings: arm: amlogic: Add Tronsmart Vega S96 binding
Quoted 7 lines · Neil Armstrong
Cc support at tronsmart.comAcked-by Jerome Brunet <[email protected]>Signed-off-by Oleg Ivanov <[email protected]>Signed-off-by Neil Armstrong <[email protected]>--- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + 1 file changed, 1 insertion(+)
I acked v1. Please add acks when posting new versions.
Re: [PATCH v2 2/2] dt-bindings: arm: amlogic: Add Tronsmart Vega S96 binding
Quoted 11 lines · Rob Herring
Quoted 7 lines · Neil Armstrong
Cc support at tronsmart.comAcked-by Jerome Brunet <[email protected]>Signed-off-by Oleg Ivanov <[email protected]>Signed-off-by Neil Armstrong <[email protected]>--- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + 1 file changed, 1 insertion(+)I acked v1. Please add acks when posting new versions.
Sorry, I misses it.
Kevin, can you add the missing ack when applying ?
Neil
Kevin Hilman
maintainerQuoted 6 lines · Neil Armstrong
This patchset adds support for the Tronsmart Vega S96 TV Box based on the Q200 Amlogic Reference design.
Changes since v1 at [1] :
- Add acks
- Cleanupexternal_phynode
Appled to v4.15/dt64 (and added back Rob's ack on PATCH 2/2)
Kevin