ARM64: dts: Add support for Meson GXM
Subsystems (2)
cover ARM64: dts: Add support for Meson GXM
The new Amlogic GXM SoC (S912) is part of the Meson GX family and is nearly identical to GXM but with a second Quad-A53 core cluster.
The GXM dtsi includes the GXL dtsi and the p20x dtsi is refactored in a common p20x/q20x to support the GXM Q200 and Q201 board that uses the exact same board layout since the S905D and S912 are pinout compatible.
The last patch adds support for the Nexbox A1 Set-Top-Box based on the S912.
Changes since RFC :
- Refactor the p20x/q20x dtsi into a single common file
- Add support for Nexbox A1
Neil Armstrong (2):
ARM64: dts: Add support for Meson GXM
Add support for the Nexbox A1 board based on the Amlogic S912 SoC.
Documentation/devicetree/bindings/arm/amlogic.txt | 7 + arch/arm64/boot/dts/amlogic/Makefile | 3 + .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 190 +++++++++++++++++++++ arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts | 19 +++ arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts | 7 + .../boot/dts/amlogic/meson-gxl-s905d-p230.dts | 3 +- .../boot/dts/amlogic/meson-gxl-s905d-p231.dts | 3 +- .../boot/dts/amlogic/meson-gxl-s905d-p23x.dtsi | 188 -------------------- .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 169 ++++++++++++++++++ .../arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts | 77 +++++++++ .../arm64/boot/dts/amlogic/meson-gxm-s912-q201.dts | 58 +++++++ arch/arm64/boot/dts/amlogic/meson-gxm.dtsi | 114 +++++++++++++ 12 files changed, 648 insertions(+), 190 deletions(-) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi delete mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p23x.dtsi create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-s912-q201.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm.dtsi
Signature · 1 line
2.7.0
PATCH 1/2 ARM64: dts: Add support for Meson GXM
Following the Amlogic Linux kernel, it seem the only differences between the GXL and GXM SoCs are the CPU Clusters.
This commit renames the gxl-s905d-p23x DTSI in a common file for S905D p20x and S912 q20x boards.
Then adds a meson-gxm dtsi and reproduce the P23x to Q20x boards dts files since the S905D and S912 SoCs shares the same pinout and the P23x and Q20x boards are identical.
--- Documentation/devicetree/bindings/arm/amlogic.txt | 6 + arch/arm64/boot/dts/amlogic/Makefile | 2 + .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 190 +++++++++++++++++++++ arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts | 19 +++ arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts | 7 + .../boot/dts/amlogic/meson-gxl-s905d-p230.dts | 3 +- .../boot/dts/amlogic/meson-gxl-s905d-p231.dts | 3 +- .../boot/dts/amlogic/meson-gxl-s905d-p23x.dtsi | 188 -------------------- .../arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts | 77 +++++++++ .../arm64/boot/dts/amlogic/meson-gxm-s912-q201.dts | 58 +++++++ arch/arm64/boot/dts/amlogic/meson-gxm.dtsi | 114 +++++++++++++ 11 files changed, 477 insertions(+), 190 deletions(-) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi delete mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p23x.dtsi create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-s912-q201.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm.dtsi
Documentation/devicetree/bindings/arm/amlogic.txt +6 -0
@@ -25,6 +25,10 @@ Boards with the Amlogic Meson GXL S905D SoC shall have the following properties: Required root node property: compatible: "amlogic,s905d", "amlogic,meson-gxl"; +Boards with the Amlogic Meson GXM S912 SoC shall have the following properties: + Required root node property: + compatible: "amlogic,s912", "amlogic,meson-gxm"; + Board compatible values: - "geniatech,atv1200" (Meson6) - "minix,neo-x8" (Meson8)
@@ -39,3 +43,5 @@ Board compatible values: - "amlogic,p212" (Meson gxl s905x) - "amlogic,p230" (Meson gxl s905d) - "amlogic,p231" (Meson gxl s905d) + - "amlogic,q200" (Meson gxm s912) + - "amlogic,q201" (Meson gxm s912)
arch/arm64/boot/dts/amlogic/Makefile +2 -0
@@ -8,6 +8,8 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-vega-s95-telos.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-p212.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxm-s912-q200.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxm-s912-q201.dtb always := $(dtb-y) subdir-y := $(dts-dirs)
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi new file +190 -0
190 lines not on this page · raw message
arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts +19 -0
@@ -56,3 +56,22 @@ pinctrl-0 = <&i2c_b_pins>; pinctrl-names = "default"; }; + +ðmac { + status = "okay"; + pinctrl-0 = <ð_rgmii_pins>; + pinctrl-names = "default"; + + phy-handle = <ð_phy0>; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + eth_phy0: ethernet-phy at 0 { + reg = <0>; + realtek,disable-eee-1000t; + }; + }; +};
arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts +7 -0
@@ -50,3 +50,10 @@ compatible = "amlogic,p201", "amlogic,meson-gxbb"; model = "Amlogic Meson GXBB P201 Development Board"; }; + +ðmac { + status = "okay"; + pinctrl-0 = <ð_rmii_pins>; + pinctrl-names = "default"; + phy-mode = "rmii"; +};
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts +2 -1
@@ -43,7 +43,8 @@ /dts-v1/; -#include "meson-gxl-s905d-p23x.dtsi" +#include "meson-gxl-s905d.dtsi" +#include "meson-gx-p23x-q20x.dtsi" / { compatible = "amlogic,p230", "amlogic,s905d", "amlogic,meson-gxl";
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dts +2 -1
@@ -43,7 +43,8 @@ /dts-v1/; -#include "meson-gxl-s905d-p23x.dtsi" +#include "meson-gxl-s905d.dtsi" +#include "meson-gx-p23x-q20x.dtsi" / { compatible = "amlogic,p231", "amlogic,s905d", "amlogic,meson-gxl";
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p23x.dtsi deleted +0 -188
188 lines not on this page · raw message
arch/arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts new file +77 -0
77 lines not on this page · raw message
arch/arm64/boot/dts/amlogic/meson-gxm-s912-q201.dts new file +58 -0
58 lines not on this page · raw message
arch/arm64/boot/dts/amlogic/meson-gxm.dtsi new file +114 -0
114 lines not on this page · raw message
Signature · 1 line
2.7.0
Quoted 21 lines · Neil Armstrong
Following the Amlogic Linux kernel, it seem the only differences between the GXL and GXM SoCs are the CPU Clusters.
This commit renames the gxl-s905d-p23x DTSI in a common file for S905D p20x and S912 q20x boards.
Then adds a meson-gxm dtsi and reproduce the P23x to Q20x boards dts files since the S905D and S912 SoCs shares the same pinout and the P23x and Q20x boards are identical.
Signed-off-by Neil Armstrong <[email protected]>--- Documentation/devicetree/bindings/arm/amlogic.txt | 6 + arch/arm64/boot/dts/amlogic/Makefile | 2 + .../arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 190 +++++++++++++++++++++ arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts | 19 +++ arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts | 7 + .../boot/dts/amlogic/meson-gxl-s905d-p230.dts | 3 +- .../boot/dts/amlogic/meson-gxl-s905d-p231.dts | 3 +- .../boot/dts/amlogic/meson-gxl-s905d-p23x.dtsi | 188 -------------------- .../arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts | 77 +++++++++
Quoted 8 lines
.../arm64/boot/dts/amlogic/meson-gxm-s912-q201.dts | 58 +++++++ arch/arm64/boot/dts/amlogic/meson-gxm.dtsi | 114 +++++++++++++ 11 files changed, 477 insertions(+), 190 deletions(-) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi delete mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p23x.dtsi create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-s912-q200.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-s912-q201.dts create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm.dtsi
Applied.
Git tip: for future reference, set 'git config diff.renames true' so and the diffstat shows a better summary when files are moved/renamed.
e.g, rather than the large ++ and -- above, you'd see:
...gxl-s905d-p23x.dtsi => meson-gx-p23x-q20x.dtsi} | 4 +-
Which is much more comforting to a maintainer than a bunch of (potentially unrelated) adds and removes.
Thanks,
Kevin
Kevin Hilman
maintainerNeil,
Quoted 5 lines · Neil Armstrong
Following the Amlogic Linux kernel, it seem the only differences between the GXL and GXM SoCs are the CPU Clusters.
This commit renames the gxl-s905d-p23x DTSI in a common file for S905D p20x and S912 q20x boards.
s/p20x/p23x/ ??
Quoted 5 lines
Then adds a meson-gxm dtsi and reproduce the P23x to Q20x boards dts files since the S905D and S912 SoCs shares the same pinout and the P23x and Q20x boards are identical.
Signed-off-by Neil Armstrong <[email protected]>
I had to drop this as it breaks the network on (at least) gxbb-p200, but...
[...]
Quoted 17 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts +9
-0@@ -56,3 +56,22 @@ pinctrl-0 = <&i2c_b_pins>; pinctrl-names = "default"; }; + +ðmac { + status = "okay"; + pinctrl-0 = <ð_rgmii_pins>; + pinctrl-names = "default"; + + phy-handle = <ð_phy0>; + + mdio {
arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts line 77
Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts +10
-0+ compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + eth_phy0: ethernet-phy at 0 { + reg = <0>; + realtek,disable-eee-1000t; + }; + }; +};
... backing out this change makes it work again.
This change also looks suspicious as it's using the proposed disable-eee properties, which I don't think have been merged yet.
Quoted 5 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts +0
-0
arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts line 59
Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts +7
-0@@ -50,3 +50,10 @@ compatible = "amlogic,p201", "amlogic,meson-gxbb"; model = "Amlogic Meson GXBB P201 Development Board"; }; + +ðmac { + status = "okay"; + pinctrl-0 = <ð_rmii_pins>; + pinctrl-names = "default"; + phy-mode = "rmii"; +};
This also doesn't look releveant to the GXL/GXM changes being introduced in this patch.
Could you separate out any GXBB-related changes into a separate patch (if they are in fact needed) and re-spin this?
Thanks,
Kevin
Quoted 74 lines · Kevin Hilman
Neil,
Quoted 5 lines · Neil Armstrong
Following the Amlogic Linux kernel, it seem the only differences between the GXL and GXM SoCs are the CPU Clusters.
This commit renames the gxl-s905d-p23x DTSI in a common file for S905D p20x and S912 q20x boards.
s/p20x/p23x/ ??
Quoted 5 lines
Then adds a meson-gxm dtsi and reproduce the P23x to Q20x boards dts files since the S905D and S912 SoCs shares the same pinout and the P23x and Q20x boards are identical.
Signed-off-by Neil Armstrong <[email protected]>I had to drop this as it breaks the network on (at least) gxbb-p200, but...
[...]
Quoted 17 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts +9
-0@@ -56,3 +56,22 @@ pinctrl-0 = <&i2c_b_pins>; pinctrl-names = "default"; }; + +ðmac { + status = "okay"; + pinctrl-0 = <ð_rgmii_pins>; + pinctrl-names = "default"; + + phy-handle = <ð_phy0>; + + mdio {arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts line 77
Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts +10
-0+ compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + eth_phy0: ethernet-phy at 0 { + reg = <0>; + realtek,disable-eee-1000t; + }; + }; +};... backing out this change makes it work again.
This change also looks suspicious as it's using the proposed disable-eee properties, which I don't think have been merged yet.
Quoted 5 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts +0
-0arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts line 59
Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxbb-p201.dts +7
-0@@ -50,3 +50,10 @@ compatible = "amlogic,p201", "amlogic,meson-gxbb"; model = "Amlogic Meson GXBB P201 Development Board"; }; + +ðmac { + status = "okay"; + pinctrl-0 = <ð_rmii_pins>; + pinctrl-names = "default"; + phy-mode = "rmii"; +};This also doesn't look releveant to the GXL/GXM changes being introduced in this patch.
Quoted 7 lines
Could you separate out any GXBB-related changes into a separate patch (if they are in fact needed) and re-spin this?
Thanks,
Kevin
Sorry leftover for another work...
Will cleanup for v2.
Neil
PATCH 2/2 Add support for the Nexbox A1 board based on the Amlogic S912 SoC.
In reply to Neil Armstrong--- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + arch/arm64/boot/dts/amlogic/Makefile | 1 + .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 169 +++++++++++++++++++++ 3 files changed, 171 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts
Documentation/devicetree/bindings/arm/amlogic.txt +1 -0
@@ -45,3 +45,4 @@ Board compatible values: - "amlogic,p231" (Meson gxl s905d) - "amlogic,q200" (Meson gxm s912) - "amlogic,q201" (Meson gxm s912) + - "nexbox,a1" (Meson gxm s912)
arch/arm64/boot/dts/amlogic/Makefile +1 -0
@@ -10,6 +10,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxm-s912-q200.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxm-s912-q201.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb always := $(dtb-y) subdir-y := $(dts-dirs)
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts new file +169 -0
169 lines not on this page · raw message
Signature · 1 line
2.7.0
Re: [PATCH 2/2] Add support for the Nexbox A1 board based on the Amlogic S912 SoC.
Quoted 7 lines · Neil Armstrong
Signed-off-by Neil Armstrong <[email protected]>--- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + arch/arm64/boot/dts/amlogic/Makefile | 1 + .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 169 +++++++++++++++++++++ 3 files changed, 171 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts
A few nits below, otherwise:
Quoted 86 lines
Documentation/devicetree/bindings/arm/amlogic.txt +1
-0@@ -45,3 +45,4 @@ Board compatible values: - "amlogic,p231" (Meson gxl s905d) - "amlogic,q200" (Meson gxm s912) - "amlogic,q201" (Meson gxm s912) + - "nexbox,a1" (Meson gxm s912)arch/arm64/boot/dts/amlogic/Makefile +1
-0@@ -10,6 +10,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxm-s912-q200.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxm-s912-q201.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb always := $(dtb-y) subdir-y := $(dts-dirs)arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts new file +58
-0@@ -0,0 +1,169 @@ +/* + * Copyright (c) 2016 BayLibre, SAS. + * Author: Neil Armstrong <[email protected]> + * + * Copyright (c) 2016 Endless Computers, Inc. + * Author: Carlo Caione <[email protected]> + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual + * licensing only applies to this file, and not this project as a + * whole. + * + * a) This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * Or, alternatively, + * + * b) Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +/dts-v1/; + +#include "meson-gxm.dtsi" + +/ { + compatible = "nexbox,a1", "amlogic,s912", "amlogic,meson-gxm"; + model = "NEXBOX A1"; + + aliases { + serial0 = &uart_AO; + }; +
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts line 68
Quoted 10 lines
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts new file +10
-0+ chosen { + stdout-path = "serial0:115200n8"; + }; + + memory at 0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; + + vddio_boot: regulator-vddio_boot {
Don't use '_' in node names.
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts line 75
Quoted 7 lines
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts new file +7
-0+ compatible = "regulator-fixed"; + regulator-name = "VDDIO_BOOT"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + vddao_3v3: regulator-vddao_3v3 {
ditto
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts line 82
Quoted 7 lines
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts new file +7
-0+ compatible = "regulator-fixed"; + regulator-name = "VDDAO_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + vcc_3v3: regulator-vcc_3v3 {
ditto
Quoted 94 lines
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts new file +87
-0+ compatible = "regulator-fixed"; + regulator-name = "VCC_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + emmc_pwrseq: emmc-pwrseq { + compatible = "mmc-pwrseq-emmc"; + reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; + }; +}; + +/* This UART is brought out to the DB9 connector */ +&uart_AO { + status = "okay"; + pinctrl-0 = <&uart_ao_a_pins>; + pinctrl-names = "default"; +}; + +&ir { + status = "okay"; + pinctrl-0 = <&remote_input_ao_pins>; + pinctrl-names = "default"; +}; + +/* SD card */ +&sd_emmc_b { + status = "okay"; + pinctrl-0 = <&sdcard_pins>; + pinctrl-names = "default"; + + bus-width = <4>; + cap-sd-highspeed; + max-frequency = <100000000>; + disable-wp; + + cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>; + cd-inverted; + + vmmc-supply = <&vddao_3v3>; + vqmmc-supply = <&vddio_boot>; +}; + +/* eMMC */ +&sd_emmc_c { + status = "okay"; + pinctrl-0 = <&emmc_pins>; + pinctrl-names = "default"; + + bus-width = <8>; + cap-sd-highspeed; + cap-mmc-highspeed; + max-frequency = <200000000>; + non-removable; + disable-wp; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + + mmc-pwrseq = <&emmc_pwrseq>; + vmmc-supply = <&vcc_3v3>; + vqmmc-supply = <&vddio_boot>; +}; + +ðmac { + status = "okay"; + + pinctrl-0 = <ð_pins>; + pinctrl-names = "default"; + + /* Select external PHY by default */ + phy-handle = <&external_phy>; + + snps,reset-gpio = <&gpio GPIOZ_14 0>; + snps,reset-delays-us = <0 10000 1000000>; + snps,reset-active-low; + + /* External PHY is in RGMII */ + phy-mode = "rgmii"; +}; + +&external_mdio { + external_phy: ethernet-phy at 0 { + compatible = "ethernet-phy-id001c.c916", "ethernet-phy-ieee802.3-c22"; + reg = <0>; + max-speed = <1000>; + }; +};Signature · 6 lines
2.7.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Kevin Hilman
maintainerRe: [PATCH 2/2] Add support for the Nexbox A1 board based on the Amlogic S912 SoC.
Quoted 9 lines · Rob Herring
Quoted 7 lines · Neil Armstrong
Signed-off-by Neil Armstrong <[email protected]>--- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + arch/arm64/boot/dts/amlogic/Makefile | 1 + .../arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts | 169 +++++++++++++++++++++ 3 files changed, 171 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts
Quoted 4 lines
A few nits below, otherwise:
Acked-by Rob Herring <[email protected]>
Fixed up the changes locally, and applied for v4.10.
Kevin
Quoted 7 lines · Neil Armstrong
The new Amlogic GXM SoC (S912) is part of the Meson GX family and is nearly identical to GXM but with a second Quad-A53 core cluster.
The GXM dtsi includes the GXL dtsi and the p20x dtsi is refactored in a common p20x/q20x to support the GXM Q200 and Q201 board that uses the exact same board layout since the S905D and S912 are pinout compatible.
Quoted 5 lines
The last patch adds support for the Nexbox A1 Set-Top-Box based on the S912.
Changes since RFC :
- Refactor the p20x/q20x dtsi into a single common file
- Add support for Nexbox A1
Thanks for refactoring. Looks great.
Applied.
Kevin