ARM64: dts: amlogi: add a few more boards
Subsystems (2)
Kevin Hilman
maintainerv2 cover ARM64: dts: amlogi: add a few more boards
Add support for a few more Amlogic S905/GXBB based boards: Hardkernel ODROID-C2 and Amlogic P200/P201 boards.
Series was boot tested on P200 and odroid-c2, on top of next-20160321.
Kevin Hilman (4):
ARM64: dts: amlogic: update serial aliases
Documentation: devicetree: amlogic: Document P20x and ODROID-C2 boards
ARM64: dts: amlogic: add Hardkernel ODROID-C2
ARM64: dts: amlogic: Add P200/P201 boards
Documentation/devicetree/bindings/arm/amlogic.txt | 3 + arch/arm64/boot/dts/amlogic/Makefile | 3 + .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 69 ++++++++++++++++++++++ arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts | 52 ++++++++++++++++ arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts | 52 ++++++++++++++++ arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 65 ++++++++++++++++++++ .../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 4 ++ arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 5 -- 8 files changed, 248 insertions(+), 5 deletions(-) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
Signature · 1 line
2.7.4
Kevin Hilman
maintainerPATCH v2 1/4 ARM64: dts: amlogic: update serial aliases
Apparently, it's not valid to have an alias point to a disabled device. Fix this by moving the aliases that are used (serial0) into the files that use them, and remove aliases to disabled devices (serial1).
--- arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 4 ++++ arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +4 -0
@@ -45,6 +45,10 @@ / { compatible = "tronsmart,vega-s95", "amlogic,meson-gxbb"; + aliases { + serial0 = &uart_AO; + }; + chosen { stdout-path = "serial0:115200n8"; };
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +0 -5
@@ -50,11 +50,6 @@ #address-cells = <2>; #size-cells = <2>; - aliases { - serial0 = &uart_AO; - serial1 = &uart_A; - }; - cpus { #address-cells = <0x2>; #size-cells = <0x0>;
Signature · 1 line
2.7.4
PATCH v2 1/4 ARM64: dts: amlogic: update serial aliases
Am 24.03.2016 um 19:05 schrieb Kevin Hilman:
Quoted 32 lines
Apparently, it's not valid to have an alias point to a disabled device. Fix this by moving the aliases that are used (serial0) into the files that use them, and remove aliases to disabled devices (serial1).
Suggested-by Arnd Bergmann <[email protected]>Signed-off-by Kevin Hilman <[email protected]>--- arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 4 ++++ arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-)arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +4
-0@@ -45,6 +45,10 @@ / { compatible = "tronsmart,vega-s95", "amlogic,meson-gxbb"; + aliases { + serial0 = &uart_AO; + }; + chosen { stdout-path = "serial0:115200n8"; };arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +0
-0@@ -50,11 +50,6 @@ #address-cells = <2>;
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi line 55
Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +0
-5#size-cells = <2>; - aliases { - serial0 = &uart_AO; - serial1 = &uart_A; - }; - cpus { #address-cells = <0x2>; #size-cells = <0x0>;
Andreas
Signature · 2 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Felix Imend?rffer, Jane Smithard, Graham Norton; HRB 21284 (AG N?rnberg)
Kevin Hilman
maintainerPATCH v2 2/4 Documentation: devicetree: amlogic: Document P20x and ODROID-C2 boards
In reply to Kevin HilmanAdd compatible strings for Amlogic S905/GXBB based boards: Hardkernel ODROID-C2, Amlogic P200 and Amlogic P201.
--- Documentation/devicetree/bindings/arm/amlogic.txt | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/arm/amlogic.txt +3 -0
@@ -25,3 +25,6 @@ Board compatible values: - "tronsmart,vega-s95-pro", "tronsmart,vega-s95" (Meson gxbb) - "tronsmart,vega-s95-meta", "tronsmart,vega-s95" (Meson gxbb) - "tronsmart,vega-s95-telos", "tronsmart,vega-s95" (Meson gxbb) + - "hardkernel,odroid-c2" (Meson gxbb) + - "amlogic,p200" (Meson gxbb) + - "amlogic,p201" (Meson gxbb)
Signature · 1 line
2.7.4
Rob Herring
maintainerPATCH v2 2/4 Documentation: devicetree: amlogic: Document P20x and ODROID-C2 boards
Quoted 9 lines · Kevin Hilman
Add compatible strings for Amlogic S905/GXBB based boards: Hardkernel ODROID-C2, Amlogic P200 and Amlogic P201.
Cc devicetree at vger.kernel.orgReviewed-by Andreas F?rber <[email protected]>Signed-off-by Kevin Hilman <[email protected]>--- Documentation/devicetree/bindings/arm/amlogic.txt | 3 +++ 1 file changed, 3 insertions(+)
Kevin Hilman
maintainerPATCH v2 3/4 ARM64: dts: amlogic: add Hardkernel ODROID-C2
In reply to Kevin HilmanAdd minimal DT files for the Hardkernel ODROID-C2 board based on the Amlogic S905/GXBB SoC.
Used the other gxbb boards from Andreas F?rber as a starting point.
--- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 69 ++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
arch/arm64/boot/dts/amlogic/Makefile +1 -0
@@ -1,3 +1,4 @@ +dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-odroidc2.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-pro.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-meta.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-telos.dtb
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts new file +69 -0
69 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH v2 3/4 ARM64: dts: amlogic: add Hardkernel ODROID-C2
Am 24.03.2016 um 19:05 schrieb Kevin Hilman:
Quoted 5 lines
Add minimal DT files for the Hardkernel ODROID-C2 board based on the Amlogic S905/GXBB SoC.
Used the other gxbb boards from Andreas F?rber as a starting point.
Quoted 8 lines
Cc Andreas F?rber <[email protected]>Cc Carlo Caione <[email protected]>Signed-off-by Kevin Hilman <[email protected]>--- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 69 ++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
Will re-test at a later point.
Andreas
Signature · 2 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Felix Imend?rffer, Jane Smithard, Graham Norton; HRB 21284 (AG N?rnberg)
Kevin Hilman
maintainerPATCH v2 4/4 ARM64: dts: amlogic: Add P200/P201 boards
In reply to Kevin HilmanAdd minimal DT files for the Amlogic P20x development boards, based on the Amlogic S905/GXBB SoC.
--- arch/arm64/boot/dts/amlogic/Makefile | 2 + arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts | 52 +++++++++++++++++++ arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts | 52 +++++++++++++++++++ arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 65 ++++++++++++++++++++++++ 4 files changed, 171 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
arch/arm64/boot/dts/amlogic/Makefile +2 -0
@@ -1,4 +1,6 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-odroidc2.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-p200.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-p201.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-pro.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-meta.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-telos.dtb
arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts new file +52 -0
52 lines not on this page · raw message
arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts new file +52 -0
52 lines not on this page · raw message
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi new file +65 -0
65 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH v2 4/4 ARM64: dts: amlogic: Add P200/P201 boards
Am 24.03.2016 um 19:05 schrieb Kevin Hilman:
Quoted 6 lines
Add minimal DT files for the Amlogic P20x development boards, based on the Amlogic S905/GXBB SoC.
Cc Andreas F?rber <[email protected]>Cc Carlo Caione <[email protected]>Signed-off-by Kevin Hilman <[email protected]>
Quoted 9 lines
--- arch/arm64/boot/dts/amlogic/Makefile | 2 + arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts | 52 +++++++++++++++++++ arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts | 52 +++++++++++++++++++ arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 65 ++++++++++++++++++++++++ 4 files changed, 171 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
Thanks,
Andreas
Signature · 2 lines
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany GF: Felix Imend?rffer, Jane Smithard, Graham Norton; HRB 21284 (AG N?rnberg)
v2 cover ARM64: dts: amlogi: add a few more boards
In reply to Kevin HilmanQuoted 5 lines · On Thursday 24 March 2016 11:05:11 Kevin Hilman wrote:
Add support for a few more Amlogic S905/GXBB based boards: Hardkernel ODROID-C2 and Amlogic P200/P201 boards.
Series was boot tested on P200 and odroid-c2, on top of next-20160321.