[PATCH v3 1/4] dt-bindings: arm: rockchip: Update ROCKPi 4 binding
Rob Herring
robh at kernel.org
Thu Jul 23 11:50:28 EDT 2020
On Thu, Jul 23, 2020 at 02:32:07PM +0530, Jagan Teki wrote:
> ROCKPi 4 has 3 variants of hardware platforms called
> ROCKPi 4A, 4B, and 4C.
>
> - ROCKPi 4A has no Wif/BT.
> - ROCKPi 4B has AP6256 Wifi/BT, PoE.
> - ROCKPi 4C has AP6256 Wifi/BT, PoE, miniDP, USB Host enabled
> GPIO pin change compared to 4B, 4C
>
> So, update the existing ROCKPi 4 binding to support
> ROCKPi 4A/B/C hardware platforms.
>
> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
> ---
> Changes for v3:
> - new patch
>
> Documentation/devicetree/bindings/arm/rockchip.yaml | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml
> index db2e35796795..e6f656b0bd56 100644
> --- a/Documentation/devicetree/bindings/arm/rockchip.yaml
> +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml
> @@ -430,8 +430,12 @@ properties:
> - const: radxa,rock
> - const: rockchip,rk3188
>
> - - description: Radxa ROCK Pi 4
> + - description: Radxa ROCK Pi 4A/B/C
> items:
> + - enum:
> + - const: radxa,rockpi4a
> + - const: radxa,rockpi4b
> + - const: radxa,rockpi4c
> - const: radxa,rockpi4
radxa,rockpi4 already meant 'ROCKPi 4A' and should continue to do so.
Just add 4B and 4C strings. It's up to you if they should be backwards
compatible with 'radxa,rockpi4' (meaning 4A), but I'd guess not unless
it's just a board pop option.
> - const: rockchip,rk3399
>
> --
> 2.25.1
>
More information about the Linux-rockchip
mailing list