Skip to contentSkip to conversation

Add DTS for Smartkiz support

PATCH Superseded Kamel Bouhara 1 participant 3 messages Oct 17, 2019

Subsystems (3)

v1 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

cover Add DTS for Smartkiz support

Yet another Overkiz's SAM9G25 based board and it's documentation.

Kamel Bouhara (2):
dt-bindings: arm: at91: Document SmartKiz board binding
ARM: at91: add support for SmartKiz board

 .../devicetree/bindings/arm/atmel-at91.yaml   |   8 ++
 arch/arm/boot/dts/Makefile                    |   1 +
 arch/arm/boot/dts/at91-smartkiz.dts           | 112 ++++++++++++++++++
 3 files changed, 121 insertions(+)
 create mode 100644 arch/arm/boot/dts/at91-smartkiz.dts

--
2.23.0

#1 lore raw

PATCH 1/2 dt-bindings: arm: at91: Document SmartKiz board binding

Document devicetree's bindings for the SAM9G25 SmartKiz board of Overkiz SAS.

---
 Documentation/devicetree/bindings/arm/atmel-at91.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/arm/atmel-at91.yaml +8 -0
index 666462988179..f8053268cfa5 100644
@@ -49,8 +49,16 @@ properties:
           - const: atmel,at91sam9x5
           - const: atmel,at91sam9
 
+      - description: Overkiz SmartKiz Board
+        items:
+          - const: overkiz,smartkiz
+          - const: atmel,at91sam9g25
+          - const: atmel,at91sam9x5
+          - const: atmel,at91sam9
+
       - items:
           - enum:
+              - atmel,at91sam9g25
               - atmel,at91sam9g15
               - atmel,at91sam9g25
               - atmel,at91sam9g35
Signature · 1 line
2.23.0
#2 lore raw

PATCH 2/2 ARM: dts: at91: add a common kizboxmini dtsi file

In reply to Kamel Bouhara

Split 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
index c976b72a4c94..6b3a65f3f6f8 100644
@@ -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
new file mode 100644
index 000000000000..52921f547dd6
@@ -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