Message ID | 20240226-imx95-dts-v2-0-00e36637b07e@nxp.com (mailing list archive) |
---|---|
Headers | show |
Series | arm64: dts: add i.MX95 and EVK board | expand |
On Mon, 26 Feb 2024 21:20:15 +0800, Peng Fan (OSS) wrote: > Add a minimal i.MX95 dtsi and EVK board dts. > i.MX95 has a M33 running SCMI firmware, but as of now, the scmi pinctrl > driver still not ready for i.MX95, so we count on bootloader to > configure the pinctrl for lpuart and sdhc and it boots well. After pinctrl > driver ready, we could move to use scmi pinctrl. > > Signed-off-by: Peng Fan <peng.fan@nxp.com> > --- > Changes in v2: > - Addressed Rob and Krzysztof's comments, and fix dts_check issue > To pass the dtbs_check, need apply: > https://lore.kernel.org/all/20240226070910.3379108-1-peng.fan@oss.nxp.com/ > https://lore.kernel.org/all/20240226130243.3820915-1-peng.fan@oss.nxp.com/ > https://lore.kernel.org/all/20240226130516.3821803-1-peng.fan@oss.nxp.com/ > https://lore.kernel.org/all/20240226130826.3824251-1-peng.fan@oss.nxp.com/ > https://lore.kernel.org/all/20240219-imx-mailbox-v8-1-75535a87794e@nxp.com/ > > - Link to v1: https://lore.kernel.org/r/20240218-imx95-dts-v1-0-2959f89f2018@nxp.com > > --- > Peng Fan (3): > dt-bindings: arm: fsl: add i.MX95 19x19 EVK board > arm64: dts: freescale: add i.MX95 basic dtsi > arm64: dts: freescale: add i.MX95 19x19 EVK minimal board dts > > Documentation/devicetree/bindings/arm/fsl.yaml | 6 + > arch/arm64/boot/dts/freescale/Makefile | 1 + > arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts | 115 ++ > arch/arm64/boot/dts/freescale/imx95-clock.h | 187 ++++ > arch/arm64/boot/dts/freescale/imx95-power.h | 55 + > arch/arm64/boot/dts/freescale/imx95.dtsi | 1177 +++++++++++++++++++++ > 6 files changed, 1541 insertions(+) > --- > base-commit: d37e1e4c52bc60578969f391fb81f947c3e83118 > change-id: 20240218-imx95-dts-aae4316671a7 > > Best regards, > -- > Peng Fan <peng.fan@nxp.com> > > > My bot found new DT warnings on the .dts files added or changed in this series. Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date: pip3 install dtschema --upgrade New warnings running 'make CHECK_DTBS=y freescale/imx95-19x19-evk.dtb' for 20240226-imx95-dts-v2-0-00e36637b07e@nxp.com: arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: scmi: 'protocol@12' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/firmware/arm,scmi.yaml# arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/bus@42000000/mailbox@42430000: failed to match any schema with compatible: ['fsl,imx95-mu'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/bus@42000000/mailbox@42730000: failed to match any schema with compatible: ['fsl,imx95-mu'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: i2c@42530000: compatible: 'oneOf' conditional failed, one must be fixed: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] is too long 'fsl,imx95-lpi2c' is not one of ['fsl,imx7ulp-lpi2c'] 'fsl,imx95-lpi2c' is not one of ['fsl,imx8qxp-lpi2c', 'fsl,imx8dxl-lpi2c', 'fsl,imx8qm-lpi2c', 'fsl,imx8ulp-lpi2c', 'fsl,imx93-lpi2c'] from schema $id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml# arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/bus@42000000/i2c@42530000: failed to match any schema with compatible: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: i2c@42540000: compatible: 'oneOf' conditional failed, one must be fixed: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] is too long 'fsl,imx95-lpi2c' is not one of ['fsl,imx7ulp-lpi2c'] 'fsl,imx95-lpi2c' is not one of ['fsl,imx8qxp-lpi2c', 'fsl,imx8dxl-lpi2c', 'fsl,imx8qm-lpi2c', 'fsl,imx8ulp-lpi2c', 'fsl,imx93-lpi2c'] from schema $id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml# arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/bus@42000000/i2c@42540000: failed to match any schema with compatible: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: i2c@426b0000: compatible: 'oneOf' conditional failed, one must be fixed: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] is too long 'fsl,imx95-lpi2c' is not one of ['fsl,imx7ulp-lpi2c'] 'fsl,imx95-lpi2c' is not one of ['fsl,imx8qxp-lpi2c', 'fsl,imx8dxl-lpi2c', 'fsl,imx8qm-lpi2c', 'fsl,imx8ulp-lpi2c', 'fsl,imx93-lpi2c'] from schema $id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml# arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/bus@42000000/i2c@426b0000: failed to match any schema with compatible: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: i2c@426c0000: compatible: 'oneOf' conditional failed, one must be fixed: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] is too long 'fsl,imx95-lpi2c' is not one of ['fsl,imx7ulp-lpi2c'] 'fsl,imx95-lpi2c' is not one of ['fsl,imx8qxp-lpi2c', 'fsl,imx8dxl-lpi2c', 'fsl,imx8qm-lpi2c', 'fsl,imx8ulp-lpi2c', 'fsl,imx93-lpi2c'] from schema $id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml# arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/bus@42000000/i2c@426c0000: failed to match any schema with compatible: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: i2c@426d0000: compatible: 'oneOf' conditional failed, one must be fixed: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] is too long 'fsl,imx95-lpi2c' is not one of ['fsl,imx7ulp-lpi2c'] 'fsl,imx95-lpi2c' is not one of ['fsl,imx8qxp-lpi2c', 'fsl,imx8dxl-lpi2c', 'fsl,imx8qm-lpi2c', 'fsl,imx8ulp-lpi2c', 'fsl,imx93-lpi2c'] from schema $id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml# arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/bus@42000000/i2c@426d0000: failed to match any schema with compatible: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: i2c@426e0000: compatible: 'oneOf' conditional failed, one must be fixed: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] is too long 'fsl,imx95-lpi2c' is not one of ['fsl,imx7ulp-lpi2c'] 'fsl,imx95-lpi2c' is not one of ['fsl,imx8qxp-lpi2c', 'fsl,imx8dxl-lpi2c', 'fsl,imx8qm-lpi2c', 'fsl,imx8ulp-lpi2c', 'fsl,imx93-lpi2c'] from schema $id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml# arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/bus@42000000/i2c@426e0000: failed to match any schema with compatible: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/bus@44000000/mailbox@44220000: failed to match any schema with compatible: ['fsl,imx95-mu'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/bus@44000000/mailbox@445b0000: failed to match any schema with compatible: ['fsl,imx95-mu'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/bus@44000000/mailbox@445d0000: failed to match any schema with compatible: ['fsl,imx95-mu'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/bus@44000000/mailbox@445f0000: failed to match any schema with compatible: ['fsl,imx95-mu'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/bus@44000000/mailbox@44630000: failed to match any schema with compatible: ['fsl,imx95-mu'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: i2c@44340000: compatible: 'oneOf' conditional failed, one must be fixed: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] is too long 'fsl,imx95-lpi2c' is not one of ['fsl,imx7ulp-lpi2c'] 'fsl,imx95-lpi2c' is not one of ['fsl,imx8qxp-lpi2c', 'fsl,imx8dxl-lpi2c', 'fsl,imx8qm-lpi2c', 'fsl,imx8ulp-lpi2c', 'fsl,imx93-lpi2c'] from schema $id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml# arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/bus@44000000/i2c@44340000: failed to match any schema with compatible: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: i2c@44350000: compatible: 'oneOf' conditional failed, one must be fixed: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] is too long 'fsl,imx95-lpi2c' is not one of ['fsl,imx7ulp-lpi2c'] 'fsl,imx95-lpi2c' is not one of ['fsl,imx8qxp-lpi2c', 'fsl,imx8dxl-lpi2c', 'fsl,imx8qm-lpi2c', 'fsl,imx8ulp-lpi2c', 'fsl,imx93-lpi2c'] from schema $id: http://devicetree.org/schemas/i2c/i2c-imx-lpi2c.yaml# arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/bus@44000000/i2c@44350000: failed to match any schema with compatible: ['fsl,imx95-lpi2c', 'fsl,imx7ulp-lpi2c'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: adc@44530000: interrupts: [[0, 199, 4], [0, 200, 4], [0, 201, 4]] is too short from schema $id: http://devicetree.org/schemas/iio/adc/nxp,imx93-adc.yaml# arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/mailbox@47520000: failed to match any schema with compatible: ['fsl,imx95-mu-ele'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/mailbox@47530000: failed to match any schema with compatible: ['fsl,imx95-mu-ele'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/mailbox@47540000: failed to match any schema with compatible: ['fsl,imx95-mu-ele'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/mailbox@47550000: failed to match any schema with compatible: ['fsl,imx95-mu-ele'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/mailbox@47560000: failed to match any schema with compatible: ['fsl,imx95-mu-ele'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/mailbox@47570000: failed to match any schema with compatible: ['fsl,imx95-mu-ele'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/mailbox@47350000: failed to match any schema with compatible: ['fsl,imx95-mu-v2x'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: /soc/mailbox@47320000: failed to match any schema with compatible: ['fsl,imx95-mu-v2x'] arch/arm64/boot/dts/freescale/imx95-19x19-evk.dtb: interrupt-controller@4b0b0000: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/interrupt-controller/fsl,irqsteer.yaml#
Add a minimal i.MX95 dtsi and EVK board dts. i.MX95 has a M33 running SCMI firmware, but as of now, the scmi pinctrl driver still not ready for i.MX95, so we count on bootloader to configure the pinctrl for lpuart and sdhc and it boots well. After pinctrl driver ready, we could move to use scmi pinctrl. Signed-off-by: Peng Fan <peng.fan@nxp.com> --- Changes in v2: - Addressed Rob and Krzysztof's comments, and fix dts_check issue To pass the dtbs_check, need apply: https://lore.kernel.org/all/20240226070910.3379108-1-peng.fan@oss.nxp.com/ https://lore.kernel.org/all/20240226130243.3820915-1-peng.fan@oss.nxp.com/ https://lore.kernel.org/all/20240226130516.3821803-1-peng.fan@oss.nxp.com/ https://lore.kernel.org/all/20240226130826.3824251-1-peng.fan@oss.nxp.com/ https://lore.kernel.org/all/20240219-imx-mailbox-v8-1-75535a87794e@nxp.com/ - Link to v1: https://lore.kernel.org/r/20240218-imx95-dts-v1-0-2959f89f2018@nxp.com --- Peng Fan (3): dt-bindings: arm: fsl: add i.MX95 19x19 EVK board arm64: dts: freescale: add i.MX95 basic dtsi arm64: dts: freescale: add i.MX95 19x19 EVK minimal board dts Documentation/devicetree/bindings/arm/fsl.yaml | 6 + arch/arm64/boot/dts/freescale/Makefile | 1 + arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts | 115 ++ arch/arm64/boot/dts/freescale/imx95-clock.h | 187 ++++ arch/arm64/boot/dts/freescale/imx95-power.h | 55 + arch/arm64/boot/dts/freescale/imx95.dtsi | 1177 +++++++++++++++++++++ 6 files changed, 1541 insertions(+) --- base-commit: d37e1e4c52bc60578969f391fb81f947c3e83118 change-id: 20240218-imx95-dts-aae4316671a7 Best regards,