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.
--- .../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
Rob Herring
maintainerRe: [PATCH 1/2] dt-bindings: arm: at91: Document Kizboxmini boards binding
Quoted 19 lines · Kamel Bouhara
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 +3
-0@@ -35,6 +35,20 @@ properties: - atmel,at91sam9x60 - const: atmel,at91sam9 + - description: Overkiz kizbox Mini Mother Board + items: + - const: overkiz,kizboxmini-mb
Documentation/devicetree/bindings/arm/atmel-at91.yaml properties: · line 50
Quoted 10 lines
Documentation/devicetree/bindings/arm/atmel-at91.yaml +10
-0+ - 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
These 2 can also be combined into 1 entry.
Quoted 7 lines
Documentation/devicetree/bindings/arm/atmel-at91.yaml +1
-0+ - items: - enum: - atmel,at91sam9g15Signature · 1 line
2.23.0
Re: [PATCH 1/2] dt-bindings: arm: at91: Document Kizboxmini boards binding
Quoted 17 lines · Rob Herring
Quoted 16 lines · Kamel Bouhara
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 +0
-0@@ -35,6 +35,20 @@ properties: - atmel,at91sam9x60 - const: atmel,at91sam9
Quoted 16 lines
Documentation/devicetree/bindings/arm/atmel-at91.yaml properties: · line 50
Quoted 13 lines
Documentation/devicetree/bindings/arm/atmel-at91.yaml +13
-0+ - 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,at91sam9These 2 can also be combined into 1 entry.
Ok done in v3.
Thanks.
Quoted 7 lines
Quoted 7 lines
Documentation/devicetree/bindings/arm/atmel-at91.yaml +1
-0+ - items: - enum: - atmel,at91sam9g15Signature · 1 line
2.23.0
Signature · 3 lines
Kamel Bouhara, Bootlin Embedded Linux and kernel engineering https://bootlin.com
PATCH 2/2 ARM: dts: at91: add a common kizboxmini dtsi file
In reply to Kamel BouharaSplit the Kizbox Mini boards into two board configuration, the Kizboxmini Mother board and the Kizboxmini RailDIN board.
--- 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 ++++++++++++++++++ 4 files changed, 260 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
arch/arm/boot/dts/Makefile +2 -0
@@ -38,6 +38,8 @@ dtb-$(CONFIG_SOC_AT91SAM9) += \ at91-ariettag25.dtb \ at91-cosino_mega2560.dtb \ at91-kizboxmini.dtb \ + at91-kizboxmini-mb.dtb \ + at91-kizboxmini-rd.dtb \ at91-wb45n.dtb \ at91sam9g15ek.dtb \ at91sam9g25ek.dtb \
arch/arm/boot/dts/at91-kizboxmini-mb.dts new file +38 -0
@@ -0,0 +1,38 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2015-2018 Overkiz SAS + * Author: Mickael Gardet <[email protected]> + * Kévin Raymond <[email protected]> + */ +/dts-v1/; +#include "at91-kizboxmini_common.dtsi" + +/ { + model = "Overkiz Kizbox Mini Mother Board"; + compatible = "overkiz,kizboxmini-mb", "atmel,at91sam9g25", + "atmel,at91sam9x5", "atmel,at91sam9"; + + clocks { + slow_xtal { + clock-frequency = <32768>; + }; + }; + + pwm_leds { + blue { + label = "pwm:blue:user"; + pwms = <&pwm0 2 10000000 0>; + max-brightness = <255>; + linux,default-trigger = "none"; + }; + }; +}; + +&usb0 { + num-ports = <2>; +}; + +&rtc { + status = "okay"; +}; +
arch/arm/boot/dts/at91-kizboxmini-rd.dts new file +54 -0
54 lines not on this page · raw message
arch/arm/boot/dts/at91-kizboxmini_common.dtsi new file +166 -0
166 lines not on this page · raw message
Signature · 1 line
2.23.0
Alexandre Belloni
maintainerRe: [PATCH 2/2] ARM: dts: at91: add a common kizboxmini dtsi file
Quoted 11 lines · Kamel Bouhara
Split the Kizbox Mini boards into two board configuration, the Kizboxmini Mother board and the Kizboxmini RailDIN board.
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 | 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 ++++++++++++++++++
This adds more than the subject says.
Quoted 5 lines
4 files changed, 260 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
Is arch/arm/boot/dts/at91-kizboxmini.dts still necessary after that?
Quoted 35 lines
arch/arm/boot/dts/Makefile +2
-0@@ -38,6 +38,8 @@ dtb-$(CONFIG_SOC_AT91SAM9) += \ at91-ariettag25.dtb \ at91-cosino_mega2560.dtb \ at91-kizboxmini.dtb \ + at91-kizboxmini-mb.dtb \ + at91-kizboxmini-rd.dtb \ at91-wb45n.dtb \ at91sam9g15ek.dtb \ at91sam9g25ek.dtb \arch/arm/boot/dts/at91-kizboxmini-mb.dts new file +16
-0@@ -0,0 +1,38 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2015-2018 Overkiz SAS + * Author: Mickael Gardet <[email protected]> + * Kévin Raymond <[email protected]> + */ +/dts-v1/; +#include "at91-kizboxmini_common.dtsi" + +/ { + model = "Overkiz Kizbox Mini Mother Board"; + compatible = "overkiz,kizboxmini-mb", "atmel,at91sam9g25", + "atmel,at91sam9x5", "atmel,at91sam9"; + + clocks { + slow_xtal {
arch/arm/boot/dts/at91-kizboxmini-mb.dts line 26
Quoted 10 lines
arch/arm/boot/dts/at91-kizboxmini-mb.dts new file +10
-0+ clock-frequency = <32768>; + }; + }; + + pwm_leds { + blue { + label = "pwm:blue:user"; + pwms = <&pwm0 2 10000000 0>; + max-brightness = <255>; + linux,default-trigger = "none";
The pwm is redefined here but is still left disabled from the common dtsi.
Quoted 247 lines
arch/arm/boot/dts/at91-kizboxmini-mb.dts new file +12
-0+ }; + }; +}; + +&usb0 { + num-ports = <2>; +}; + +&rtc { + status = "okay"; +}; +arch/arm/boot/dts/at91-kizboxmini-rd.dts new file +54
-0@@ -0,0 +1,54 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2015-2018 Overkiz SAS + * Author: Mickael Gardet <[email protected]> + * Kévin Raymond <[email protected]> + */ +/dts-v1/; +#include "at91-kizboxmini_common.dtsi" + +/ { + model = "Overkiz Kizbox Mini RailDIN"; + compatible = "overkiz,kizboxmini-rd", "atmel,at91sam9g25", + "atmel,at91sam9x5", "atmel,at91sam9"; + + clocks { + slow_xtal { + clock-frequency = <32768>; + }; + adc_op_clk { + status = "okay"; + }; + }; +}; + +&pinctrl { + adc0 { + pinctrl_adc0_ad5: adc0_ad5-0 { + /* pull-up disable */ + atmel,pins = <AT91_PIOB 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; + }; + }; +}; + +&usart0 { + status = "disabled"; +}; + +&rtc { + status = "okay"; +}; + +&leds { + blue { + status = "okay"; + }; +}; + +&adc0 { + atmel,adc-vref = <2500>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_adc0_ad5>; + atmel,adc-channels-used = <0x0020>; + status = "okay"; +};arch/arm/boot/dts/at91-kizboxmini_common.dtsi new file +166
-0@@ -0,0 +1,166 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * at91-kizboxmini.dts - Device Tree file for Overkiz Kizbox mini board + * + * Copyright (C) 2014-2018 Overkiz SAS + * Author: Antoine Aubert <[email protected]> + * Gaël Portay <[email protected]> + * Kévin Raymond <[email protected]> + * Dorian Rocipon <[email protected]> + */ +#include "at91sam9g25.dtsi" + +/ { + chosen { + bootargs = "ubi.mtd=ubi"; + stdout-path = &dbgu; + }; + + memory { + reg = <0x20000000 0x8000000>; + }; + + clocks { + main_xtal { + clock-frequency = <12000000>; + }; + + adc_op_clk { + status = "disabled"; + }; + }; + + gpio_keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + prog { + label = "PB_PROG"; + gpios = <&pioC 17 GPIO_ACTIVE_LOW>; + linux,code = <0x102>; + wakeup-source; + }; + + reset { + label = "PB_RST"; + gpios = <&pioC 16 GPIO_ACTIVE_LOW>; + linux,code = <0x100>; + wakeup-source; + }; + }; + + leds: pwm_leds { + compatible = "pwm-leds"; + + blue { + label = "pwm:blue:user"; + pwms = <&pwm0 2 10000000 0>; + max-brightness = <255>; + linux,default-trigger = "none"; + status = "disabled"; + }; + + green { + label = "pwm:green:user"; + pwms = <&pwm0 0 10000000 0>; + max-brightness = <255>; + linux,default-trigger = "default-on"; + }; + + red { + label = "pwm:red:user"; + pwms = <&pwm0 1 10000000 0>; + max-brightness = <255>; + linux,default-trigger = "default-on"; + }; + }; +}; + +&usart0 { + atmel,use-dma-rx; + atmel,use-dma-tx; + status = "okay"; +}; + +&macb0 { + phy-mode = "rmii"; + status = "okay"; +}; + +&pwm0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm0_pwm0_1 + &pinctrl_pwm0_pwm1_1 + &pinctrl_pwm0_pwm2_1>; + status = "okay"; +}; + +&dbgu { + status = "okay"; +}; + +&watchdog { + status = "okay"; +}; + +&adc0 { + status = "disabled"; +}; + +&rtc { + status = "disabled"; +}; + +&ebi { + pinctrl-0 = <&pinctrl_ebi_addr_nand + &pinctrl_ebi_data_0_7>; + pinctrl-names = "default"; + status = "okay"; +}; + +&nand_controller { + status = "okay"; + pinctrl-0 = <&pinctrl_nand_oe_we + &pinctrl_nand_cs + &pinctrl_nand_rb>; + pinctrl-names = "default"; + + nand@3 { + reg = <0x3 0x0 0x800000>; + rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>; + cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>; + nand-bus-width = <8>; + nand-ecc-mode = "hw"; + nand-ecc-strength = <4>; + nand-ecc-step-size = <512>; + nand-on-flash-bbt; + label = "atmel_nand"; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + bootstrap@0 { + label = "bootstrap"; + reg = <0x0 0x20000>; + }; + + ubi@20000 { + label = "ubi"; + reg = <0x20000 0x7fe0000>; + }; + }; + }; +}; + +&usb0 { + num-ports = <1>; + status = "okay"; +}; + +&usb1 { + status = "okay"; +}; +Signature · 1 line
2.23.0
Signature · 3 lines
Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Rob Herring
maintainerRe: [PATCH 2/2] ARM: dts: at91: add a common kizboxmini dtsi file
In reply to Kamel BouharaQuoted 41 lines · Kamel Bouhara
Split the Kizbox Mini boards into two board configuration, the Kizboxmini Mother board and the Kizboxmini RailDIN board.
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 | 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 ++++++++++++++++++ 4 files changed, 260 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.dtsiarch/arm/boot/dts/Makefile +2
-0@@ -38,6 +38,8 @@ dtb-$(CONFIG_SOC_AT91SAM9) += \ at91-ariettag25.dtb \ at91-cosino_mega2560.dtb \ at91-kizboxmini.dtb \ + at91-kizboxmini-mb.dtb \ + at91-kizboxmini-rd.dtb \ at91-wb45n.dtb \ at91sam9g15ek.dtb \ at91sam9g25ek.dtb \arch/arm/boot/dts/at91-kizboxmini-mb.dts new file +6
-0@@ -0,0 +1,38 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2015-2018 Overkiz SAS + * Author: Mickael Gardet <[email protected]> + * Kévin Raymond <[email protected]> + */
arch/arm/boot/dts/at91-kizboxmini-mb.dts line 16
Quoted 10 lines
arch/arm/boot/dts/at91-kizboxmini-mb.dts new file +10
-0+/dts-v1/; +#include "at91-kizboxmini_common.dtsi" + +/ { + model = "Overkiz Kizbox Mini Mother Board"; + compatible = "overkiz,kizboxmini-mb", "atmel,at91sam9g25", + "atmel,at91sam9x5", "atmel,at91sam9"; + + clocks { + slow_xtal {
Don't use '_' in node names.
Quoted 97 lines
arch/arm/boot/dts/at91-kizboxmini-mb.dts new file +22
-0+ clock-frequency = <32768>; + }; + }; + + pwm_leds { + blue { + label = "pwm:blue:user"; + pwms = <&pwm0 2 10000000 0>; + max-brightness = <255>; + linux,default-trigger = "none"; + }; + }; +}; + +&usb0 { + num-ports = <2>; +}; + +&rtc { + status = "okay"; +}; +arch/arm/boot/dts/at91-kizboxmini-rd.dts new file +54
-0@@ -0,0 +1,54 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2015-2018 Overkiz SAS + * Author: Mickael Gardet <[email protected]> + * Kévin Raymond <[email protected]> + */ +/dts-v1/; +#include "at91-kizboxmini_common.dtsi" + +/ { + model = "Overkiz Kizbox Mini RailDIN"; + compatible = "overkiz,kizboxmini-rd", "atmel,at91sam9g25", + "atmel,at91sam9x5", "atmel,at91sam9"; + + clocks { + slow_xtal { + clock-frequency = <32768>; + }; + adc_op_clk { + status = "okay"; + }; + }; +}; + +&pinctrl { + adc0 { + pinctrl_adc0_ad5: adc0_ad5-0 { + /* pull-up disable */ + atmel,pins = <AT91_PIOB 16 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>; + }; + }; +}; + +&usart0 { + status = "disabled"; +}; + +&rtc { + status = "okay"; +}; + +&leds { + blue { + status = "okay"; + }; +}; + +&adc0 { + atmel,adc-vref = <2500>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_adc0_ad5>; + atmel,adc-channels-used = <0x0020>; + status = "okay"; +};arch/arm/boot/dts/at91-kizboxmini_common.dtsi new file +9
-0@@ -0,0 +1,166 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * at91-kizboxmini.dts - Device Tree file for Overkiz Kizbox mini board + * + * Copyright (C) 2014-2018 Overkiz SAS + * Author: Antoine Aubert <[email protected]> + * Gaël Portay <[email protected]> + * Kévin Raymond <[email protected]> + * Dorian Rocipon <[email protected]>
arch/arm/boot/dts/at91-kizboxmini_common.dtsi line 19
Quoted 10 lines
arch/arm/boot/dts/at91-kizboxmini_common.dtsi new file +10
-0+ */ +#include "at91sam9g25.dtsi" + +/ { + chosen { + bootargs = "ubi.mtd=ubi"; + stdout-path = &dbgu; + }; + + memory {
memory@20000000
Build your dtb with W=12 and fix any new warnings (feel free to fix existing ones too :) ).
Quoted 150 lines
arch/arm/boot/dts/at91-kizboxmini_common.dtsi new file +147
-0+ reg = <0x20000000 0x8000000>; + }; + + clocks { + main_xtal { + clock-frequency = <12000000>; + }; + + adc_op_clk { + status = "disabled"; + }; + }; + + gpio_keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + + prog { + label = "PB_PROG"; + gpios = <&pioC 17 GPIO_ACTIVE_LOW>; + linux,code = <0x102>; + wakeup-source; + }; + + reset { + label = "PB_RST"; + gpios = <&pioC 16 GPIO_ACTIVE_LOW>; + linux,code = <0x100>; + wakeup-source; + }; + }; + + leds: pwm_leds { + compatible = "pwm-leds"; + + blue { + label = "pwm:blue:user"; + pwms = <&pwm0 2 10000000 0>; + max-brightness = <255>; + linux,default-trigger = "none"; + status = "disabled"; + }; + + green { + label = "pwm:green:user"; + pwms = <&pwm0 0 10000000 0>; + max-brightness = <255>; + linux,default-trigger = "default-on"; + }; + + red { + label = "pwm:red:user"; + pwms = <&pwm0 1 10000000 0>; + max-brightness = <255>; + linux,default-trigger = "default-on"; + }; + }; +}; + +&usart0 { + atmel,use-dma-rx; + atmel,use-dma-tx; + status = "okay"; +}; + +&macb0 { + phy-mode = "rmii"; + status = "okay"; +}; + +&pwm0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pwm0_pwm0_1 + &pinctrl_pwm0_pwm1_1 + &pinctrl_pwm0_pwm2_1>; + status = "okay"; +}; + +&dbgu { + status = "okay"; +}; + +&watchdog { + status = "okay"; +}; + +&adc0 { + status = "disabled"; +}; + +&rtc { + status = "disabled"; +}; + +&ebi { + pinctrl-0 = <&pinctrl_ebi_addr_nand + &pinctrl_ebi_data_0_7>; + pinctrl-names = "default"; + status = "okay"; +}; + +&nand_controller { + status = "okay"; + pinctrl-0 = <&pinctrl_nand_oe_we + &pinctrl_nand_cs + &pinctrl_nand_rb>; + pinctrl-names = "default"; + + nand@3 { + reg = <0x3 0x0 0x800000>; + rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>; + cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>; + nand-bus-width = <8>; + nand-ecc-mode = "hw"; + nand-ecc-strength = <4>; + nand-ecc-step-size = <512>; + nand-on-flash-bbt; + label = "atmel_nand"; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + bootstrap@0 { + label = "bootstrap"; + reg = <0x0 0x20000>; + }; + + ubi@20000 { + label = "ubi"; + reg = <0x20000 0x7fe0000>; + }; + }; + }; +}; + +&usb0 { + num-ports = <1>; + status = "okay"; +}; + +&usb1 { + status = "okay"; +}; +Signature · 1 line
2.23.0
Alexandre Belloni
maintainerRe: [PATCH 2/2] ARM: dts: at91: add a common kizboxmini dtsi file
Quoted 46 lines · Rob Herring
Quoted 45 lines · Kamel Bouhara
Split the Kizbox Mini boards into two board configuration, the Kizboxmini Mother board and the Kizboxmini RailDIN board.
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 | 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 ++++++++++++++++++ 4 files changed, 260 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.dtsiarch/arm/boot/dts/Makefile +2
-0@@ -38,6 +38,8 @@ dtb-$(CONFIG_SOC_AT91SAM9) += \ at91-ariettag25.dtb \ at91-cosino_mega2560.dtb \ at91-kizboxmini.dtb \ + at91-kizboxmini-mb.dtb \ + at91-kizboxmini-rd.dtb \ at91-wb45n.dtb \ at91sam9g15ek.dtb \ at91sam9g25ek.dtb \arch/arm/boot/dts/at91-kizboxmini-mb.dts new file +10
-0@@ -0,0 +1,38 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2015-2018 Overkiz SAS + * Author: Mickael Gardet <[email protected]> + * Kévin Raymond <[email protected]> + */ +/dts-v1/; +#include "at91-kizboxmini_common.dtsi" + +/ {
Quoted 9 lines
arch/arm/boot/dts/at91-kizboxmini-mb.dts line 16
Quoted 6 lines
arch/arm/boot/dts/at91-kizboxmini-mb.dts new file +6
-0+ model = "Overkiz Kizbox Mini Mother Board"; + compatible = "overkiz,kizboxmini-mb", "atmel,at91sam9g25", + "atmel,at91sam9x5", "atmel,at91sam9"; + + clocks { + slow_xtal {Don't use '_' in node names.
We are stuck with that one until we change the dtsi.
Signature · 3 lines
Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com