Add Kizboxmini boards support
Subsystems (3)
cover Add Kizboxmini boards support
Add support for the Overkiz's SAM9G25 based boards and document them.
Kamel Bouhara (2):
dt-bindings: arm: at91: Document Kizboxmini boards binding
ARM: dts: at91: add a common kizboxmini dtsi file
.../devicetree/bindings/arm/atmel-at91.yaml | 14 ++ arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/at91-kizboxmini-mb.dts | 38 ++++ arch/arm/boot/dts/at91-kizboxmini-rd.dts | 54 ++++++ arch/arm/boot/dts/at91-kizboxmini_common.dtsi | 166 ++++++++++++++++++ 5 files changed, 274 insertions(+) create mode 100644 arch/arm/boot/dts/at91-kizboxmini-mb.dts create mode 100644 arch/arm/boot/dts/at91-kizboxmini-rd.dts create mode 100644 arch/arm/boot/dts/at91-kizboxmini_common.dtsi
--
2.23.0
PATCH 1/2 dt-bindings: arm: at91: Document Kizboxmini boards binding
Document devicetree's bindings for the SAM9G25 Kizbox Mini boards of Overkiz SAS.
Signed-off-by Kamel Bouhara <[email protected]>
--- .../devicetree/bindings/arm/atmel-at91.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
Documentation/devicetree/bindings/arm/atmel-at91.yaml +14 -0
@@ -35,6 +35,20 @@ properties: - atmel,at91sam9x60 - const: atmel,at91sam9 + - description: Overkiz kizbox Mini Mother Board + items: + - const: overkiz,kizboxmini-mb + - const: atmel,at91sam9g25 + - const: atmel,at91sam9x5 + - const: atmel,at91sam9 + + - description: Overkiz kizbox Mini RailDIN + items: + - const: overkiz,kizboxmini-rd + - const: atmel,at91sam9g25 + - const: atmel,at91sam9x5 + - const: atmel,at91sam9 + - items: - enum: - atmel,at91sam9g15
Signature · 1 line
2.23.0
PATCH 2/2 ARM: dts: at91: add a common kizbox2 dtsi file
In reply to Kamel BouharaThere are three different boards available depending on the PCB (3 antennas support and several revison). Add a dtsi file to share common binding between all kizbox2 boards.
Signed-off-by Kamel Bouhara <[email protected]>
Signed-off-by Kévin RAYMOND <[email protected]>
Signed-off-by Mickael GARDET <[email protected]>
--- arch/arm/boot/dts/Makefile | 6 +- arch/arm/boot/dts/at91-kizbox.dts | 173 +++++++------- arch/arm/boot/dts/at91-kizbox2-0.dts | 17 ++ arch/arm/boot/dts/at91-kizbox2-1.dts | 22 ++ arch/arm/boot/dts/at91-kizbox2-2.dts | 26 +++ arch/arm/boot/dts/at91-kizbox2-3.dts | 30 +++ arch/arm/boot/dts/at91-kizbox2-rev2.dts | 34 +++ arch/arm/boot/dts/at91-kizbox2.dts | 244 ------------------- arch/arm/boot/dts/at91-kizbox2_common.dtsi | 258 +++++++++++++++++++++ 9 files changed, 477 insertions(+), 333 deletions(-) create mode 100644 arch/arm/boot/dts/at91-kizbox2-0.dts create mode 100644 arch/arm/boot/dts/at91-kizbox2-1.dts create mode 100644 arch/arm/boot/dts/at91-kizbox2-2.dts create mode 100644 arch/arm/boot/dts/at91-kizbox2-3.dts create mode 100644 arch/arm/boot/dts/at91-kizbox2-rev2.dts delete mode 100644 arch/arm/boot/dts/at91-kizbox2.dts create mode 100644 arch/arm/boot/dts/at91-kizbox2_common.dtsi
arch/arm/boot/dts/Makefile +5 -1
@@ -45,7 +45,11 @@ dtb-$(CONFIG_SOC_AT91SAM9) += \ at91sam9x25ek.dtb \ at91sam9x35ek.dtb dtb-$(CONFIG_SOC_SAM_V7) += \ - at91-kizbox2.dtb \ + at91-kizbox2-0.dtb \ + at91-kizbox2-1.dtb \ + at91-kizbox2-2.dtb \ + at91-kizbox2-rev2.dtb \ + at91-kizbox2-3.dtb \ at91-kizbox3-hs.dtb \ at91-nattis-2-natte-2.dtb \ at91-sama5d27_som1_ek.dtb \
arch/arm/boot/dts/at91-kizbox.dts +85 -88
188 lines not on this page · raw message
arch/arm/boot/dts/at91-kizbox2-0.dts new file +17 -0
@@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * at91-kizbox2-0.dts - Device Tree file for the Kizbox 2 board + * + * Copyright (C) 2015 Overkiz SAS + * + * Authors: Antoine Aubert <[email protected]> + * Kévin Raymond <[email protected]> + */ +/dts-v1/; +#include "at91-kizbox2_common.dtsi" + +/ { + model = "Overkiz Kizbox 2 Mother Board"; + compatible = "overkiz,kizbox2-0", "atmel,sama5d31", + "atmel,sama5d3", "atmel,sama5"; +};
arch/arm/boot/dts/at91-kizbox2-1.dts new file +22 -0
@@ -0,0 +1,22 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * at91-kizbox2-1.dts - Device Tree file for the Kizbox 2 with one + * head board + * + * Copyright (C) 2015 Overkiz SAS + * + * Authors: Antoine Aubert <[email protected]> + * Kévin Raymond <[email protected]> + */ +/dts-v1/; +#include "at91-kizbox2_common.dtsi" + +/ { + model = "Overkiz Kizbox 2 with one head"; + compatible = "overkiz,kizbox2-1", "atmel,sama5d31", + "atmel,sama5d3", "atmel,sama5"; +}; + +&usart1 { + status = "okay"; +};
arch/arm/boot/dts/at91-kizbox2-2.dts new file +26 -0
@@ -0,0 +1,26 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * at91-kizbox2-2.dts - Device Tree file for the Kizbox2 with + * two head board + * + * Copyright (C) 2015 Overkiz SAS + * + * Authors: Antoine Aubert <[email protected]> + * Kévin Raymond <[email protected]> + */ +/dts-v1/; +#include "at91-kizbox2_common.dtsi" + +/ { + model = "Overkiz Kizbox 2 with two heads"; + compatible = "overkiz,kizbox2-2", "atmel,sama5d31", + "atmel,sama5d3", "atmel,sama5"; +}; + +&usart1 { + status = "okay"; +}; + +&usart2 { + status = "okay"; +};
arch/arm/boot/dts/at91-kizbox2-3.dts new file +30 -0
@@ -0,0 +1,30 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * at91-kizbox2-3.dts - Device Tree file for the Kizbox2 with three + * heads board + * + * Copyright (C) 2015 Overkiz SAS + * + * Authors: Antoine Aubert <[email protected]> + * Kévin Raymond <[email protected]> + */ +/dts-v1/; +#include "at91-kizbox2_common.dtsi" + +/ { + model = "Overkiz Kizbox 2 with three heads"; + compatible = "overkiz,kizbox2-3", "atmel,sama5d31", + "atmel,sama5d3", "atmel,sama5"; +}; + +&usart0 { + status = "okay"; +}; + +&usart1 { + status = "okay"; +}; + +&usart2 { + status = "okay"; +};
arch/arm/boot/dts/at91-kizbox2-rev2.dts new file +34 -0
@@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * at91-kizbox2-rev2.dts - Device Tree file for the Kizbox2 rev2 with + * two heads board + * + * Copyright (C) 2017 Overkiz SAS + * + * Author: Kévin Raymond <[email protected]> + */ +/dts-v1/; +#include "at91-kizbox2_common.dtsi" + +/ { + model = "Overkiz Kizbox 2 Rev 2 with two heads"; + compatible = "overkiz,kizbox2-rev2", "atmel,sama5d31", + "atmel,sama5d3", "atmel,sama5"; + + ahb { + gpio_keys { + user { + status = "disabled"; + }; + }; + }; +}; + +&usart1 { + status = "okay"; +}; + +&usart2 { + status = "okay"; +}; +
arch/arm/boot/dts/at91-kizbox2.dts deleted +0 -244
244 lines not on this page · raw message
arch/arm/boot/dts/at91-kizbox2_common.dtsi new file +258 -0
258 lines not on this page · raw message
Signature · 1 line
2.23.0