ARM: mstar: Initial DongShanPiOne support
Subsystems (3)
cover ARM: mstar: Initial DongShanPiOne support
Add a few device tree bits to support the DongShanPiOne which is an SBC module based on the SigmaStar SSD202D.
http://linux-chenxing.org/infinity2/dongshanpione/
Daniel Palmer (3):
dt-bindings: vendor-prefixes: Add prefix for 100ask
dt-bindings: arm: mstar: Add compatible for 100ask DongShanPiOne
ARM: dts: mstar: Add board for 100ask DongShanPiOne
.../devicetree/bindings/arm/mstar/mstar.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 ++ arch/arm/boot/dts/Makefile | 1 + ...nfinity2m-ssd202d-100ask-dongshanpione.dts | 25 +++++++++++++++++++ 4 files changed, 29 insertions(+) create mode 100644 arch/arm/boot/dts/mstar-infinity2m-ssd202d-100ask-dongshanpione.dts
Signature · 1 line
2.34.1
PATCH 1/3 dt-bindings: vendor-prefixes: Add prefix for 100ask
100ask is Linux SBC/module/training provider.
Add a prefix for them.
---
To Rob: One thing I have noticed is that dtbs_check seems to be complaining about the prefix starting with a digit. If it's a problem I can change the prefix I think.
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -23,6 +23,8 @@ patternProperties: "^(simple-audio-card|st-plgpio|st-spics|ts),.*": true # Keep list in alphabetical order. + "^100ask,.*": + description: Baiwen.com (100ask). "^70mai,.*": description: 70mai Co., Ltd. "^abb,.*":
Signature · 1 line
2.34.1
Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add prefix for 100ask
Quoted 9 lines · Daniel Palmer
100ask is Linux SBC/module/training provider.
Add a prefix for them.Signed-off-by Daniel Palmer <[email protected]>---
To Rob: One thing I have noticed is thatdtbs_checkseems to be complaining about the prefix starting with a digit. If it's a problem I can change the prefix I think.
Humm, we should relax that. I'll add a fix.
Quoted 3 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
PATCH 2/3 dt-bindings: arm: mstar: Add compatible for 100ask DongShanPiOne
In reply to Daniel PalmerThe DongShanPiOne is a SigmaStar SSD202D based module. Add a compatible for it to the list of infinity2m boards.
--- Documentation/devicetree/bindings/arm/mstar/mstar.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/mstar/mstar.yaml +1 -0
@@ -23,6 +23,7 @@ properties: - description: infinity2m boards items: - enum: + - 100ask,dongshanpione # 100ask DongShanPiOne - honestar,ssd201htv2 # Honestar SSD201_HT_V2 devkit - m5stack,unitv2 # M5Stack UnitV2 - const: mstar,infinity2m
Signature · 1 line
2.34.1
Re: [PATCH 2/3] dt-bindings: arm: mstar: Add compatible for 100ask DongShanPiOne
Quoted 9 lines · Daniel Palmer
The DongShanPiOne is a SigmaStar SSD202D based module. Add a compatible for it to the list of infinity2m boards.
Signed-off-by Daniel Palmer <[email protected]>--- Documentation/devicetree/bindings/arm/mstar/mstar.yaml | 1 + 1 file changed, 1 insertion(+)
PATCH 3/3 ARM: dts: mstar: Add board for 100ask DongShanPiOne
In reply to Daniel PalmerThe DongShanPiOne is little SigmaStar SSD202D based module from 100ask.
Add an initial dts for this board.
--- arch/arm/boot/dts/Makefile | 1 + ...nfinity2m-ssd202d-100ask-dongshanpione.dts | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 arch/arm/boot/dts/mstar-infinity2m-ssd202d-100ask-dongshanpione.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -1468,6 +1468,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ dtb-$(CONFIG_ARCH_MILBEAUT) += milbeaut-m10v-evb.dtb dtb-$(CONFIG_ARCH_MSTARV7) += \ mstar-infinity-msc313-breadbee_crust.dtb \ + mstar-infinity2m-ssd202d-100ask-dongshanpione.dtb \ mstar-infinity2m-ssd202d-ssd201htv2.dtb \ mstar-infinity2m-ssd202d-unitv2.dtb \ mstar-infinity3-msc313e-breadbee.dtb \
arch/arm/boot/dts/mstar-infinity2m-ssd202d-100ask-dongshanpione.dts new file +25 -0
@@ -0,0 +1,25 @@ +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2021 thingy.jp. + * Author: Daniel Palmer <[email protected]> + */ + +/dts-v1/; +#include "mstar-infinity2m-ssd202d.dtsi" + +/ { + model = "DongShanPi One"; + compatible = "100ask,dongshanpione", "mstar,infinity2m"; + + aliases { + serial0 = &pm_uart; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&pm_uart { + status = "okay"; +};
Signature · 1 line
2.34.1