Skip to contentSkip to conversation

ARM: dts: imx: Add support for SK-iMX53 board

PATCH In review Dmitry Baryshkov 3 participants 3 messages Jan 1, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx: Add support for SK-iMX53 board

Add support for the StartKit sk-imx53 board, a simple development board with the iMX536A SoC.

Tested and works:
- UARTs
- SPI
- I2C
- GPU
- USB
- uSD
- NAND
- Ethernet

Not tested:
- Display
- VPU
- capture

Not yet working:
- Sound

---
 arch/arm/boot/dts/Makefile           |   1 +
 arch/arm/boot/dts/imx53-sk-imx53.dts | 361 +++++++++++++++++++++++++++
 2 files changed, 362 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx53-sk-imx53.dts
arch/arm/boot/dts/Makefile +1 -0
index d08a3c450ce7..d20fd01a8d07 100644
@@ -465,6 +465,7 @@ dtb-$(CONFIG_SOC_IMX53) += \
 	imx53-ppd.dtb \
 	imx53-qsb.dtb \
 	imx53-qsrb.dtb \
+	imx53-sk-imx53.dtb \
 	imx53-smd.dtb \
 	imx53-tx53-x03x.dtb \
 	imx53-tx53-x13x.dtb \
arch/arm/boot/dts/imx53-sk-imx53.dts new file +361 -0

361 lines not on this page · raw message

Signature · 1 line
2.39.0
#1 lore raw
Quoted 47 lines · Dmitry Baryshkov

Add support for the StartKit sk-imx53 board, a simple development board with the iMX536A SoC.

Tested and works:
- UARTs
- SPI
- I2C
- GPU
- USB
- uSD
- NAND
- Ethernet

Not tested:
- Display
- VPU
- capture

Not yet working:
- Sound

---
 arch/arm/boot/dts/Makefile           |   1 +
 arch/arm/boot/dts/imx53-sk-imx53.dts | 361 +++++++++++++++++++++++++++
 2 files changed, 362 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx53-sk-imx53.dts
arch/arm/boot/dts/Makefile +1 -0
index d08a3c450ce7..d20fd01a8d07 100644
@@ -465,6 +465,7 @@ dtb-$(CONFIG_SOC_IMX53) += \
 	imx53-ppd.dtb \
 	imx53-qsb.dtb \
 	imx53-qsrb.dtb \
+	imx53-sk-imx53.dtb \
 	imx53-smd.dtb \
 	imx53-tx53-x03x.dtb \
 	imx53-tx53-x13x.dtb \
arch/arm/boot/dts/imx53-sk-imx53.dts new file +1 -0
new file mode 100644
index 000000000000..06e27a222070
@@ -0,0 +1,361 @@
+// SPDX-License-Identifier: GPL-2.0+

arch/arm/boot/dts/imx53-sk-imx53.dts line 11

Quoted 10 lines
arch/arm/boot/dts/imx53-sk-imx53.dts new file +10 -0
+//
+// Copyright 2023 Linaro Ltd.
+
+/dts-v1/;
+
+#include "imx53.dtsi"
+
+/ {
+	model = "StarterKit SK-iMX53 Board";
+	compatible = "starterkit,sk-imx53", "fsl,imx53";

Missing bindings. Missing vendor prefix.

Best regards,
Krzysztof

reviewer
#2 lore raw
In reply to Dmitry Baryshkov

Hi Dmitry,

arch/arm/boot/dts/imx53-sk-imx53.dts line 15

Quoted 7 lines · Dmitry Baryshkov
arch/arm/boot/dts/imx53-sk-imx53.dts new file +7 -0
+/ {
+       model = "StarterKit SK-iMX53 Board";
+       compatible = "starterkit,sk-imx53", "fsl,imx53";
+
+       aliases {
+               /*
+                * iMX RTC is not battery powered on this boart.

s/boart/board

arch/arm/boot/dts/imx53-sk-imx53.dts line 89

Quoted 5 lines

+&fec {

arch/arm/boot/dts/imx53-sk-imx53.dts new file +4 -0
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_fec>;
+       phy-mode = "rmii";
+       phy-reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;

This property is deprecated. It is better to pass the standard 'reset-gpios' property inside the mdio node.

Quoted 10 lines
arch/arm/boot/dts/imx53-sk-imx53.dts new file +10 -0
+       phy-handle = <&phy0>;
+       mac-address = [000000000000]; /* placeholder; will be overwritten by bootloader */
+       status = "okay";
+
+       mdio {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               phy0: ethernet-phy@0 {
+                       reg = <0>;

arch/arm/boot/dts/imx53-sk-imx53.dts line 136

Quoted 10 lines
arch/arm/boot/dts/imx53-sk-imx53.dts new file +9 -0
+                       device_type = "ethernet-phy";
+               };
+       };
+};
 
+
+&iomuxc {
+       pinctrl_audmux: audmuxgrp {
+               fsl,pins = <
+                       MX53_PAD_SD2_DATA3__AUDMUX_AUD4_TXC     0x80000000

Please use the real pinctrl value instead of 0x80000000.

The same applies globally.

Review

Quoted 3 lines

+&vpu {

(quoted diff) +2 -0
+       status = "okay";
+};

No need to enable the vpu node here as it is not disabled in imx53.dtsi.