Add initial support for RoseapplePi SBC
Subsystems (3)
cover Add initial support for RoseapplePi SBC
This patchset enables basic support for RoseapplePi, relying exclusively on the existing infrastructure for the Actions Semi Sxx SoCs (thank you Andreas and Manni for making this possible).
The SBC is powered by the Actions Semi S500 SoC and comes with 2GB RAM, uSD slot and optional eMMC storage. For more details, please check:
http://roseapplepi.org/index.php/spec/
The upcoming patches will improve this initial support by adding the missing bits and pieces to the S500 clock management unit, which is a prerequisite for providing an S500 pinctrl and gpio driver, in order to eventually enable access to additional functionality like I2C and MMC.
Thanks and regards,
Cristian Ciocaltea
Cristian Ciocaltea (4):
arm: dts: owl-s500: Fix incorrect PPI interrupt specifiers
dt-bindings: Add vendor prefix for RoseapplePi.org
dt-bindings: arm: actions: Document RoseapplePi
arm: dts: owl-s500: Add RoseapplePi
.../devicetree/bindings/arm/actions.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/owl-s500-roseapplepi.dts | 47 +++++++++++++++++++ arch/arm/boot/dts/owl-s500.dtsi | 6 +-- 5 files changed, 54 insertions(+), 3 deletions(-) create mode 100644 arch/arm/boot/dts/owl-s500-roseapplepi.dts
Signature · 1 line
2.27.0
PATCH 1/4 arm: dts: owl-s500: Fix incorrect PPI interrupt specifiers
The PPI interrupts for cortex-a9 were incorrectly specified, fix them.
--- arch/arm/boot/dts/owl-s500.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/owl-s500.dtsi +3 -3
@@ -84,21 +84,21 @@ scu: scu@b0020000 { global_timer: timer@b0020200 { compatible = "arm,cortex-a9-global-timer"; reg = <0xb0020200 0x100>; - interrupts = <GIC_PPI 0 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; + interrupts = <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; status = "disabled"; }; twd_timer: timer@b0020600 { compatible = "arm,cortex-a9-twd-timer"; reg = <0xb0020600 0x20>; - interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; status = "disabled"; }; twd_wdt: wdt@b0020620 { compatible = "arm,cortex-a9-twd-wdt"; reg = <0xb0020620 0xe0>; - interrupts = <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; + interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>; status = "disabled"; };
Signature · 1 line
2.27.0
Re: [PATCH 1/4] arm: dts: owl-s500: Fix incorrect PPI interrupt specifiers
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Cristian" == Cristian Ciocaltea <[email protected]> writes:
The PPI interrupts for cortex-a9 were incorrectly specified, fix them.
Fixes fdfe7f4f9d85 ("ARM: dts: Add Actions Semi S500 and LeMaker Guitar")Signed-off-by Cristian Ciocaltea <[email protected]>
Signature · 1 line
Bye, Peter Korsgaard
Re: [PATCH 1/4] arm: dts: owl-s500: Fix incorrect PPI interrupt specifiers
Quoted 10 lines · Peter Korsgaard
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Cristian" == Cristian Ciocaltea <[email protected]> writes:
The PPI interrupts for cortex-a9 were incorrectly specified, fix them.
Fixes fdfe7f4f9d85 ("ARM: dts: Add Actions Semi S500 and LeMaker Guitar")Signed-off-by Cristian Ciocaltea <[email protected]>Reviewed-by Peter Korsgaard <[email protected]>Signature · 1 line
Bye, Peter Korsgaard
Thanks,
Cristi
PATCH 2/4 dt-bindings: Add vendor prefix for RoseapplePi.org
In reply to Cristian CiocalteaAdd devicetree vendor prefix for RoseapplePi.org Foundation.
Website: http://roseapplepi.org/
--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -864,6 +864,8 @@ patternProperties: description: Ronbo Electronics "^roofull,.*": description: Shenzhen Roofull Technology Co, Ltd + "^roseapplepi,.*": + description: RoseapplePi.org "^samsung,.*": description: Samsung Semiconductor "^samtec,.*":
Signature · 1 line
2.27.0
Re: [PATCH 2/4] dt-bindings: Add vendor prefix for RoseapplePi.org
Quoted 8 lines · Cristian Ciocaltea
Add devicetree vendor prefix for RoseapplePi.org Foundation.
Website: http://roseapplepi.org/Signed-off-by Cristian Ciocaltea <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
PATCH 3/4 dt-bindings: arm: actions: Document RoseapplePi
In reply to Cristian CiocalteaDefine compatible strings for RoseapplePi, a SBC manufactured in Taiwan, based on Actions Semi S500 reference design.
--- Documentation/devicetree/bindings/arm/actions.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/actions.yaml +1 -0
@@ -18,6 +18,7 @@ properties: - enum: - allo,sparky # Allo.com Sparky - cubietech,cubieboard6 # Cubietech CubieBoard6 + - roseapplepi,roseapplepi # RoseapplePi.org RoseapplePi - const: actions,s500 - items: - enum:
Signature · 1 line
2.27.0
Re: [PATCH 3/4] dt-bindings: arm: actions: Document RoseapplePi
Quoted 8 lines · Cristian Ciocaltea
Define compatible strings for RoseapplePi, a SBC manufactured in Taiwan, based on Actions Semi S500 reference design.
Signed-off-by Cristian Ciocaltea <[email protected]>--- Documentation/devicetree/bindings/arm/actions.yaml | 1 + 1 file changed, 1 insertion(+)
PATCH 4/4 arm: dts: owl-s500: Add RoseapplePi
In reply to Cristian CiocalteaAdd a Device Tree for the RoseapplePi SBC.
--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/owl-s500-roseapplepi.dts | 47 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 arch/arm/boot/dts/owl-s500-roseapplepi.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -856,6 +856,7 @@ dtb-$(CONFIG_ARCH_ORION5X) += \ dtb-$(CONFIG_ARCH_ACTIONS) += \ owl-s500-cubieboard6.dtb \ owl-s500-guitar-bb-rev-b.dtb \ + owl-s500-roseapplepi.dtb \ owl-s500-sparky.dtb dtb-$(CONFIG_ARCH_PRIMA2) += \ prima2-evb.dtb
arch/arm/boot/dts/owl-s500-roseapplepi.dts new file +47 -0
47 lines not on this page · raw message
Signature · 1 line
2.27.0
Re: [PATCH 4/4] arm: dts: owl-s500: Add RoseapplePi
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Cristian" == Cristian Ciocaltea <[email protected]> writes:
Add a Device Tree for the RoseapplePi SBC.
Signed-off-by Cristian Ciocaltea <[email protected]>
On a related note: There is now an owl-mmc driver for the s900. From a quick look at the datasheet it looks compatible with the controller on the s500. Did you have a look at hooking that up?
Signature · 1 line
Bye, Peter Korsgaard
Re: [PATCH 4/4] arm: dts: owl-s500: Add RoseapplePi
Hi Peter,
Thanks for the review!
Quoted 10 lines · Peter Korsgaard
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Cristian" == Cristian Ciocaltea <[email protected]> writes:
Add a Device Tree for the RoseapplePi SBC.
Signed-off-by Cristian Ciocaltea <[email protected]>Reviewed-by Peter Korsgaard <[email protected]>On a related note: There is now an owl-mmc driver for the s900. From a quick look at the datasheet it looks compatible with the controller on the s500. Did you have a look at hooking that up?
Yes, please see:
https://lore.kernel.org/lkml/[email protected]/
The clock related patches have been already applied to v5.9 and hopefully the pinctrl driver will follow in v5.10.
Quoted 2 lines
Signature · 1 line
Bye, Peter Korsgaard
Regards,
Cristi
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH 4/4] arm: dts: owl-s500: Add RoseapplePi
Quoted 17 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Cristian" == Cristian Ciocaltea <[email protected]> writes:
Hi Peter,
Thanks for the review!Quoted 10 lines · Peter Korsgaard
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Cristian" == Cristian Ciocaltea <[email protected]> writes:
Add a Device Tree for the RoseapplePi SBC.
Signed-off-by Cristian Ciocaltea <[email protected]>Reviewed-by Peter Korsgaard <[email protected]>On a related note: There is now an owl-mmc driver for the s900. From a quick look at the datasheet it looks compatible with the controller on the s500. Did you have a look at hooking that up?
Quoted 5 lines
Yes, please see:
https://lore.kernel.org/lkml/[email protected]/The clock related patches have been already applied to v5.9 and hopefully the pinctrl driver will follow in v5.10.
Cool, I must have missed that series Great, thanks!
Signature · 1 line
Bye, Peter Korsgaard