ARM: dts: oxnas: Update support for OX820 and use dt-bindings
cover ARM: dts: oxnas: Update support for OX820 and use dt-bindings
This patchset updates the ARM DTS for the Oxnas platform by :
- Add support for the Oxford Semicondutor OX820 and the PogoPlug V3
- Update the OX810SE to use the dt-bindings includes files introduced in [1] and [2]
- Fix the MAINTAINERS entry and add the PogoPlug V3 file maintainance
This patchset remains RFC until dependent patches [1] and [2] are merged.
[1] https://listengine.tuxfamily.org/lists.tuxfamily.org/linux-oxnas/2016/10/msg00008.html
[2] https://listengine.tuxfamily.org/lists.tuxfamily.org/linux-oxnas/2016/10/msg00007.html
Neil Armstrong (3):
ARM: dts: Add support for OX820 and Pogoplug V3
ARM: dts: OX810: Update with dt-bindings includes
MAINTAINERS: oxnas: Add new files definitions
Documentation/devicetree/bindings/arm/oxnas.txt | 5 + MAINTAINERS | 3 +- arch/arm/boot/dts/Makefile | 3 +- .../boot/dts/cloudengines-pogoplug-series-3.dts | 60 +++++ arch/arm/boot/dts/ox810se.dtsi | 10 +- arch/arm/boot/dts/ox820.dtsi | 259 +++++++++++++++++++++ 6 files changed, 334 insertions(+), 6 deletions(-) create mode 100644 arch/arm/boot/dts/cloudengines-pogoplug-series-3.dts create mode 100644 arch/arm/boot/dts/ox820.dtsi
Signature · 1 line
2.7.0
RFC PATCH 1/3 ARM: dts: Add support for OX820 and Pogoplug V3
Add device tree for the Oxford Seminconductor OX820 SoC and the Cloud Engines PogoPlug v3 board.
Add the SoC and board compatible strings to oxnas bindings.
--- Documentation/devicetree/bindings/arm/oxnas.txt | 5 + arch/arm/boot/dts/Makefile | 3 +- .../boot/dts/cloudengines-pogoplug-series-3.dts | 60 +++++ arch/arm/boot/dts/ox820.dtsi | 259 +++++++++++++++++++++ 4 files changed, 326 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/cloudengines-pogoplug-series-3.dts create mode 100644 arch/arm/boot/dts/ox820.dtsi
Documentation/devicetree/bindings/arm/oxnas.txt +5 -0
@@ -5,5 +5,10 @@ Boards with the OX810SE SoC shall have the following properties: Required root node property: compatible: "oxsemi,ox810se" +Boards with the OX820 SoC shall have the following properties: + Required root node property: + compatible: "oxsemi,ox820" + Board compatible values: - "wd,mbwe" (OX810SE) + - "cloudengines,pogoplugv3" (OX820)
arch/arm/boot/dts/Makefile +2 -1
@@ -588,7 +588,8 @@ dtb-$(CONFIG_ARCH_ORION5X) += \ dtb-$(CONFIG_ARCH_PRIMA2) += \ prima2-evb.dtb dtb-$(CONFIG_ARCH_OXNAS) += \ - wd-mbwe.dtb + wd-mbwe.dtb \ + cloudengines-pogoplug-series-3.dtb dtb-$(CONFIG_ARCH_QCOM) += \ qcom-apq8060-dragonboard.dtb \ qcom-apq8064-arrow-sd-600eval.dtb \
arch/arm/boot/dts/cloudengines-pogoplug-series-3.dts new file +60 -0
60 lines not on this page · raw message
arch/arm/boot/dts/ox820.dtsi new file +259 -0
259 lines not on this page · raw message
Signature · 1 line
2.7.0
RFC PATCH 2/3 ARM: dts: OX810: Update with dt-bindings includes
In reply to Neil ArmstrongAdd OX810SE dt-bindings includes files for clocks and resets, replace resets numbers by human readable defines.
--- arch/arm/boot/dts/ox810se.dtsi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
arch/arm/boot/dts/ox810se.dtsi +6 -4
@@ -7,6 +7,8 @@ */ /include/ "skeleton.dtsi" +#include <dt-bindings/clock/oxsemi,ox810se.h> +#include <dt-bindings/reset/oxsemi,ox810se.h> / { compatible = "oxsemi,ox810se";
@@ -242,7 +244,7 @@ current-speed = <115200>; no-loopback-test; status = "disabled"; - resets = <&reset 17>; + resets = <&reset RESET_UART1>; }; uart1: serial at 300000 {
@@ -256,7 +258,7 @@ current-speed = <115200>; no-loopback-test; status = "disabled"; - resets = <&reset 18>; + resets = <&reset RESET_UART2>; }; uart2: serial at 900000 {
@@ -270,7 +272,7 @@ current-speed = <115200>; no-loopback-test; status = "disabled"; - resets = <&reset 22>; + resets = <&reset RESET_UART3>; }; uart3: serial at a00000 {
@@ -284,7 +286,7 @@ current-speed = <115200>; no-loopback-test; status = "disabled"; - resets = <&reset 23>; + resets = <&reset RESET_UART4>; }; };
Signature · 1 line
2.7.0
RFC PATCH 3/3 MAINTAINERS: oxnas: Add new files definitions
In reply to Neil ArmstrongFix the dts files maintained by the OXNAS platform, add a new board.
--- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
MAINTAINERS +2 -1
@@ -1444,8 +1444,9 @@ M: Neil Armstrong <[email protected]> L: linux-arm-kernel at lists.infradead.org (moderated for non-subscribers) S: Maintained F: arch/arm/mach-oxnas/ -F: arch/arm/boot/dts/oxnas* +F: arch/arm/boot/dts/ox8*.dtsi F: arch/arm/boot/dts/wd-mbwe.dts +F: arch/arm/boot/dts/cloudengines-pogoplug-series-3.dts N: oxnas ARM/Mediatek RTC DRIVER
Signature · 1 line
2.7.0
Re: [RFC PATCH 1/3] ARM: dts: Add support for OX820 and Pogoplug V3
In reply to Neil ArmstrongQuoted 57 lines · Neil Armstrong
Add device tree for the Oxford Seminconductor OX820 SoC and the Cloud Engines PogoPlug v3 board.
Add the SoC and board compatible strings to oxnas bindings.Signed-off-by Neil Armstrong <[email protected]>--- Documentation/devicetree/bindings/arm/oxnas.txt | 5 + arch/arm/boot/dts/Makefile | 3 +- .../boot/dts/cloudengines-pogoplug-series-3.dts | 60 +++++ arch/arm/boot/dts/ox820.dtsi | 259 +++++++++++++++++++++ 4 files changed, 326 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/cloudengines-pogoplug-series-3.dts create mode 100644 arch/arm/boot/dts/ox820.dtsiDocumentation/devicetree/bindings/arm/oxnas.txt +5
-0@@ -5,5 +5,10 @@ Boards with the OX810SE SoC shall have the following properties: Required root node property: compatible: "oxsemi,ox810se" +Boards with the OX820 SoC shall have the following properties: + Required root node property: + compatible: "oxsemi,ox820" + Board compatible values: - "wd,mbwe" (OX810SE) + - "cloudengines,pogoplugv3" (OX820)arch/arm/boot/dts/Makefile +2
-1@@ -588,7 +588,8 @@ dtb-$(CONFIG_ARCH_ORION5X) += \ dtb-$(CONFIG_ARCH_PRIMA2) += \ prima2-evb.dtb dtb-$(CONFIG_ARCH_OXNAS) += \ - wd-mbwe.dtb + wd-mbwe.dtb \ + cloudengines-pogoplug-series-3.dtb dtb-$(CONFIG_ARCH_QCOM) += \ qcom-apq8060-dragonboard.dtb \ qcom-apq8064-arrow-sd-600eval.dtb \arch/arm/boot/dts/cloudengines-pogoplug-series-3.dts new file +8
-0@@ -0,0 +1,60 @@ +/* + * cloudengines-pogoplug-series-3.dtsi - Device tree file for Cloud Engines PogoPlug Series 3 + * + * Copyright (C) 2016 Neil Armstrong <[email protected]> + * + * Licensed under GPLv2 or later + */ +
arch/arm/boot/dts/cloudengines-pogoplug-series-3.dts line 18
Quoted 10 lines
arch/arm/boot/dts/cloudengines-pogoplug-series-3.dts new file +10
-0+/dts-v1/; +#include "ox820.dtsi" + +/ { + model = "Cloud Engines PogoPlug Series 3"; + + compatible = "cloudengines,pogoplugv3", "oxsemi,ox820"; + + chosen { + bootargs = "console=ttyS0,115200n8 earlyprintk=serial";
Use stdout-path and I don't think "earlyprintk=serial" is valid.
With that,