Add basic support for pico-pi-imx8m
Subsystems (2)
v4 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 v3:
- renamed pico-pi-8m.dts to imx8mq-pico-pi.dts
- moved iomuxc node as the last one
- removed pinctrl-assert-gpios property from fec1 node
- removed at803x,led-act-blind-workaround, at803x,eee-disabled properties from mdio node
- added pinctrl-names = "default" to i2c1 node
- changed bd71837 pmic support properties according to Documentation/devicetree/bindings/regulator/rohm,bd71837-regulator.txt
- removed A53_0 node
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/imx8mq-pico-pi.dts | 417 +++++++++++++++++++++++ 3 files changed, 419 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts
Signature · 1 line
2.11.0
PATCH v4 1/2 arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M
From: Richard Hu <[email protected]>
TechNexion PICO-PI-IMX8M-DEV evaluation and development kit based on NXP i.MX8M Quad applications processor. Datasheet can be found at:
https://s3.us-east-2.amazonaws.com/technexion/datasheets/picopiimx8m.pdf
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/imx8mq-pico-pi.dts | 417 +++++++++++++++++++++++ 2 files changed, 418 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts
arch/arm64/boot/dts/freescale/Makefile +1 -0
@@ -23,6 +23,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2160a-rdb.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mq-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mq-librem5-devkit.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mq-pico-pi.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
arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts new file +417 -0
417 lines not on this page · raw message
Signature · 1 line
2.11.0
Fabio Estevam
reviewerRe: [PATCH v4 1/2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M
Hi Andra,
Quoted 6 lines · On Fri, Jul 19, 2019 at 7:48 AM andradanciu1997 <[email protected]>…
arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts new file +6
-0+ pmic: pmic@4b { + reg = <0x4b>; + compatible = "rohm,bd71837"; + /* PMIC BD71837 PMIC_nINT GPIO1_IO12 */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pmic>;
arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts line 79
Quoted 10 lines
arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts new file +10
-0+ clocks = <&pmic_osc>; + clock-names = "osc"; + clock-output-names = "pmic_clk"; + interrupt-parent = <&gpio1>; + interrupts = <3 GPIO_ACTIVE_LOW>; + interrupt-names = "irq"; + + regulators { + #address-cells = <1>; + #size-cells = <0>;
#address-cells and #size-cells are not needed and they cause warnings with W=1:
DTC arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dtb
arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts:77.14-196.5: Warning (avoid_unnecessary_addr_size):
/soc@0/bus@30800000/i2c@30a20000/pmic@4b/regulators: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
Please remove them.
Re: [PATCH v4 1/2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M
Hi Fabio,
I compiled with W=1 and you are right, they cause warning. I will remove them.
În vin., 19 iul. 2019 la 14:19, Fabio Estevam <[email protected]> a scris:
Quoted 32 lines
Hi Andra,
Quoted 6 lines · On Fri, Jul 19, 2019 at 7:48 AM andradanciu1997 <[email protected]>…
arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts new file +6
-0+ pmic: pmic@4b { + reg = <0x4b>; + compatible = "rohm,bd71837"; + /* PMIC BD71837 PMIC_nINT GPIO1_IO12 */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pmic>;arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts line 79
Quoted 10 lines
arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts new file +10
-0+ clocks = <&pmic_osc>; + clock-names = "osc"; + clock-output-names = "pmic_clk"; + interrupt-parent = <&gpio1>; + interrupts = <3 GPIO_ACTIVE_LOW>; + interrupt-names = "irq"; + + regulators { + #address-cells = <1>; + #size-cells = <0>;#address-cells and #size-cells are not needed and they cause warnings with W=1:
DTC
arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dtb
arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts:77.14-196.5: Warning (avoid_unnecessary_addr_size):
/soc@0/bus@30800000/i2c@30a20000/pmic@4b/regulators: unnecessary #address-cells/#size-cells without "ranges" or child "reg" propertyPlease remove them.
Re: [PATCH v4 1/2] arm64: dts: fsl: pico-pi: Add a device tree for the PICO-PI-IMX8M
In reply to Fabio EstevamQuoted 25 lines · Fabio Estevam
Hi Andra,
Quoted 6 lines · On Fri, Jul 19, 2019 at 7:48 AM andradanciu1997 <[email protected]>…
arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts new file +6
-0+ pmic: pmic@4b { + reg = <0x4b>; + compatible = "rohm,bd71837"; + /* PMIC BD71837 PMIC_nINT GPIO1_IO12 */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pmic>;arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts line 79
Quoted 10 lines
arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts new file +10
-0+ clocks = <&pmic_osc>; + clock-names = "osc"; + clock-output-names = "pmic_clk"; + interrupt-parent = <&gpio1>; + interrupts = <3 GPIO_ACTIVE_LOW>; + interrupt-names = "irq"; + + regulators { + #address-cells = <1>; + #size-cells = <0>;#address-cells and #size-cells are not needed and they cause warnings with W=1:
Quoted 7 lines
DTC
arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dtb
arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts:77.14-196.5: Warning (avoid_unnecessary_addr_size):
/soc@0/bus@30800000/i2c@30a20000/pmic@4b/regulators: unnecessary #address-cells/#size-cells without "ranges" or child "reg" propertyPlease remove them.
Thanks Fabio for review, we learned something new today :).
Daniel.
PATCH v4 2/2 dt-bindings: arm: fsl: Add the pico-pi-imx8m board
In reply to andradanciu1997From: Andra Danciu <[email protected]>
Add an entry for TechNexion PICO-PI-IMX8M board based on i.MX8MQ SoC Datasheet can be found at:
https://s3.us-east-2.amazonaws.com/technexion/datasheets/picopiimx8m.pdf
--- 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