Add basic support for pico-pi-imx8m
Subsystems (2)
v3 cover Add basic support for pico-pi-imx8m
Add support for TechNexion PICO-PI-IMX8M based on patches from Richard Hu Datasheet is at: https://s3.us-east-2.amazonaws.com/technexion/datasheets/picopiimx8m.pdf
Changes since v2:
- changed PICO-PI-8M bord compatible from wand,imx8mq-pico-pi to technexion,pico-pi-imx8m
- removed bootargs property
- removed regulators node and put fixed regulator directly under root node
- changed node name from usb_otg_vbus to regulator-usb-otg-vbus
- removed pinctrl-names property from iomuxc node
- removed wand-pi-8m container node
- sorted pinctrl nodes alphabetically
- removed tusb320_irqgrp, tusb320_irqgrp nodes because there is no upstream driver
- changed properties' order in usb_dwc3_1 node
Changes since v1:
- renamed wandboard-pi-8m.dts to pico-pi-8m.dts
- removed pinctrl_csi1, pinctrl_wifi_ctrl
- used generic name for pmic
- removed gpo node
- delete regulator-virtuals node
- remove always-on property from buck1-8 and ldo3-7
- remove pmic-buck-uses-i2c-dvs property for buck1-4
Andra Danciu (1):
dt-bindings: arm: fsl: Add the pico-pi-imx8m board
Richard Hu (1):
arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M
Documentation/devicetree/bindings/arm/fsl.yaml | 1 + arch/arm64/boot/dts/freescale/Makefile | 1 + arch/arm64/boot/dts/freescale/pico-pi-8m.dts | 417 +++++++++++++++++++++++++ 3 files changed, 419 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/pico-pi-8m.dts
Signature · 1 line
2.11.0
PATCH v3 1/2 arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M
From: Richard Hu <[email protected]>
The current level of support yields a working console and is able to boot userspace from NFS or init ramdisk.
Additional subsystems that are active :
- Ethernet
- USB
--- arch/arm64/boot/dts/freescale/Makefile | 1 + arch/arm64/boot/dts/freescale/pico-pi-8m.dts | 417 +++++++++++++++++++++++++++ 2 files changed, 418 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/pico-pi-8m.dts
arch/arm64/boot/dts/freescale/Makefile +1 -0
@@ -26,3 +26,4 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mq-librem5-devkit.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mq-zii-ultra-rmb3.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mq-zii-ultra-zest.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek.dtb +dtb-$(CONFIG_ARCH_MXC) += pico-pi-8m.dtb
arch/arm64/boot/dts/freescale/pico-pi-8m.dts new file +417 -0
417 lines not on this page · raw message
Signature · 1 line
2.11.0
Fabio Estevam
reviewerRe: [PATCH v3 1/2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M
Hi Andra,
Quoted 2 lines · Andra Danciu
From: Richard Hu <[email protected]>
Please put a few words about the board and a link to its webpage, if available.
Quoted 21 lines
The current level of support yields a working console and is able to boot userspace from NFS or init ramdisk.
Additional subsystems that are active :
- Ethernet
- USBCc Daniel Baluta <[email protected]>Signed-off-by Richard Hu <[email protected]>Signed-off-by Andra Danciu <[email protected]>--- arch/arm64/boot/dts/freescale/Makefile | 1 + arch/arm64/boot/dts/freescale/pico-pi-8m.dts | 417 +++++++++++++++++++++++++++ 2 files changed, 418 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/pico-pi-8m.dtsarch/arm64/boot/dts/freescale/Makefile +0
-0
arch/arm64/boot/dts/freescale/Makefile dtb-$(CONFIG_ARCH_MXC) += imx8mq-librem5-devkit.dtb · line 29
Quoted 4 lines
arch/arm64/boot/dts/freescale/Makefile +1
-0@@ -26,3 +26,4 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mq-librem5-devkit.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mq-zii-ultra-rmb3.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mq-zii-ultra-zest.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek.dtb +dtb-$(CONFIG_ARCH_MXC) += pico-pi-8m.dtb
The convention we use with imx dtbs is to put the SoC name first, so that would become:
imx8mq-pico-pi.dtb
Quoted 1 line
+&iomuxc {
Please place iomuxc node as the last one.
arch/arm64/boot/dts/freescale/Makefile
Quoted 5 lines
+&fec1 {
arch/arm64/boot/dts/freescale/Makefile +4
-0+ pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fec1 &pinctrl_enet_3v3>; + phy-mode = "rgmii-id"; + pinctrl-assert-gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
This property does not exist.
arch/arm64/boot/dts/freescale/Makefile
Quoted 13 lines
arch/arm64/boot/dts/freescale/Makefile +13
-0+ phy-handle = <ðphy0>; + fsl,magic-packet; + status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy0: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + at803x,led-act-blind-workaround; + at803x,eee-disabled;
These two properties do not exist.
arch/arm64/boot/dts/freescale/Makefile
Quoted 11 lines
+&i2c1 {
arch/arm64/boot/dts/freescale/Makefile +10
-0+ clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + status = "okay"; + + pmic: pmic@4b { + reg = <0x4b>; + compatible = "rohm,bd71837"; + /* PMIC BD71837 PMIC_nINT GPIO1_IO12 */ + pinctrl-0 = <&pinctrl_pmic>;
pinctrl-names = "default" is missing
Quoted 1 line
+
gpio_intr= <&gpio1 3GPIO_ACTIVE_LOW>;
This is not documented.
Please look at Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.txt for the valid bindings and also at arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts for a
reference for adding the BD71837 support.
arch/arm64/boot/dts/freescale/Makefile
Quoted 7 lines
+&A53_0 {
arch/arm64/boot/dts/freescale/Makefile +6
-0+ operating-points = < + /* kHz uV */ + 1500000 1000000 + 1300000 1000000 + 1000000 900000 + 800000 900000
This is not needed as these operating points are already specified at imx8mq.dtsi.
Re: [PATCH v3 1/2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M
Hi Fabio,
Please find my answers inline:
În vin., 19 iul. 2019 la 02:05, Fabio Estevam <[email protected]> a scris:
Quoted 8 lines
Hi Andra,
Quoted 2 lines · Andra Danciu
From: Richard Hu <[email protected]>
Please put a few words about the board and a link to its webpage, if available.
OK
Quoted 30 lines
Quoted 22 lines
The current level of support yields a working console and is able to boot userspace from NFS or init ramdisk.
Additional subsystems that are active :
- Ethernet
- USBCc Daniel Baluta <[email protected]>Signed-off-by Richard Hu <[email protected]>Signed-off-by Andra Danciu <[email protected]>--- arch/arm64/boot/dts/freescale/Makefile | 1 + arch/arm64/boot/dts/freescale/pico-pi-8m.dts | 417 +++++++++++++++++++++++++++ 2 files changed, 418 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/pico-pi-8m.dtsarch/arm64/boot/dts/freescale/Makefile +0
-0arch/arm64/boot/dts/freescale/Makefile dtb-$(CONFIG_ARCH_MXC) += imx8mq-librem5-devkit.dtb · line 29
Quoted 4 lines
arch/arm64/boot/dts/freescale/Makefile +1
-0@@ -26,3 +26,4 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mq-librem5-devkit.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mq-zii-ultra-rmb3.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mq-zii-ultra-zest.dtb dtb-$(CONFIG_ARCH_MXC) += imx8qxp-mek.dtb +dtb-$(CONFIG_ARCH_MXC) += pico-pi-8m.dtbThe convention we use with imx dtbs is to put the SoC name first, so that would become:
Quoted 1 line
imx8mq-pico-pi.dtb
Will do.
Quoted 5 lines
Quoted 3 lines
+&iomuxc {
Please place iomuxc node as the last one.
Will do.
Quoted 8 lines
arch/arm64/boot/dts/freescale/Makefile
Quoted 6 lines
+&fec1 {
arch/arm64/boot/dts/freescale/Makefile +4
-0+ pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fec1 &pinctrl_enet_3v3>; + phy-mode = "rgmii-id"; + pinctrl-assert-gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;This property does not exist.
OK, I will remove it.
Quoted 16 lines
Quoted 4 lines
arch/arm64/boot/dts/freescale/Makefile +3
-0+ phy-handle = <ðphy0>; + fsl,magic-packet; + status = "okay";arch/arm64/boot/dts/freescale/Makefile
Quoted 10 lines
arch/arm64/boot/dts/freescale/Makefile +10
-0+ + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy0: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + at803x,led-act-blind-workaround; + at803x,eee-disabled;These two properties do not exist.
OK, I will remove them.
Quoted 13 lines
arch/arm64/boot/dts/freescale/Makefile
Quoted 12 lines
+&i2c1 {
arch/arm64/boot/dts/freescale/Makefile +10
-0+ clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + status = "okay"; + + pmic: pmic@4b { + reg = <0x4b>; + compatible = "rohm,bd71837"; + /* PMIC BD71837 PMIC_nINT GPIO1_IO12 */ + pinctrl-0 = <&pinctrl_pmic>;
Quoted 1 line
pinctrl-names = "default" is missing
OK, will add.
Quoted 9 lines
Quoted 2 lines
+
gpio_intr= <&gpio1 3GPIO_ACTIVE_LOW>;This is not documented.
Please look at
Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.txtfor the valid bindings and also atarch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dtsfor a
reference for adding the BD71837 support.
OK, will do.
Quoted 11 lines
arch/arm64/boot/dts/freescale/Makefile
Quoted 8 lines
+&A53_0 {
arch/arm64/boot/dts/freescale/Makefile +6
-0+ operating-points = < + /* kHz uV */ + 1500000 1000000 + 1300000 1000000 + 1000000 900000 + 800000 900000This is not needed as these operating points are already specified at
imx8mq.dtsi.
OK, I will remove it.
PATCH v3 2/2 dt-bindings: arm: fsl: Add the pico-pi-imx8m board
In reply to Andra DanciuAdd an entry for TechNexion PICO-PI-IMX8M board based on i.MX8MQ SoC
--- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/fsl.yaml +1 -0
@@ -219,6 +219,7 @@ properties: - enum: - fsl,imx8mq-evk # i.MX8MQ EVK Board - purism,librem5-devkit # Purism Librem5 devkit + - technexion,pico-pi-imx8m # TechNexion PICO-PI-8M evk - const: fsl,imx8mq - description: i.MX8QXP based Boards
Signature · 1 line
2.11.0