[PATCH v5] dts: nxp: mxs: Add descriptions for imx287 based btt3-[012] devices
Rob Herring (Arm)
robh at kernel.org
Tue Sep 10 07:15:09 PDT 2024
On Tue, 10 Sep 2024 12:23:26 +0200, Lukasz Majewski wrote:
> The btt3 device' HW revisions from 0 to 2 use imx287 SoC and are to
> some extend similar to already upstreamed XEA devices, hence are
> using common imx28-lwe.dtsi file.
>
> New, imx28-btt3.dtsi file has been added to embrace common DTS
> properties for different HW revisions for this device.
>
> As a result - changes introduced in imx28-btt3-[012].dts are
> minimal.
>
> This patch also adds entry to fsl.yaml for btt3 board.
>
> Signed-off-by: Lukasz Majewski <lukma at denx.de>
>
> ---
> Changes for v2:
> - Rename dts file from btt3-[012] to imx28-btt3-[012] to match current
> linux kernel naming convention
> - Remove 'wlf,wm8974' from compatible for codec at 1a
>
> Changes for v3:
> - Keep alphabethical order for Makefile entries
>
> Changes for v4:
> - Change compatible for btt3 board (to 'lwn,imx28-btt3')
>
> Changes for v5:
> - Combine patch, which adds btt3-[012] with one adding board entry to
> fsl.yaml
> ---
> .../devicetree/bindings/arm/fsl.yaml | 1 +
> arch/arm/boot/dts/nxp/mxs/Makefile | 3 +
> arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dts | 12 +
> arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dts | 8 +
> arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dts | 12 +
> arch/arm/boot/dts/nxp/mxs/imx28-btt3.dtsi | 320 ++++++++++++++++++
> 6 files changed, 356 insertions(+)
> create mode 100644 arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dts
> create mode 100644 arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dts
> create mode 100644 arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dts
> create mode 100644 arch/arm/boot/dts/nxp/mxs/imx28-btt3.dtsi
>
My bot found new DTB 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. No need to reply
unless the platform maintainer has comments.
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 nxp/mxs/imx28-btt3-0.dtb nxp/mxs/imx28-btt3-1.dtb nxp/mxs/imx28-btt3-2.dtb' for 20240910102326.927544-1-lukma at denx.de:
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: /apb at 80000000/apbh-bus at 80000000/interrupt-controller at 80000000: failed to match any schema with compatible: ['fsl,imx28-icoll', 'fsl,icoll']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: /apb at 80000000/apbh-bus at 80000000/interrupt-controller at 80000000: failed to match any schema with compatible: ['fsl,imx28-icoll', 'fsl,icoll']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: /apb at 80000000/apbh-bus at 80000000/interrupt-controller at 80000000: failed to match any schema with compatible: ['fsl,imx28-icoll', 'fsl,icoll']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: /apb at 80000000/apbh-bus at 80000000/interrupt-controller at 80000000: failed to match any schema with compatible: ['fsl,imx28-icoll', 'fsl,icoll']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: nand-controller at 8000c000: #size-cells: 0 was expected
from schema $id: http://devicetree.org/schemas/mtd/gpmi-nand.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: nand-controller at 8000c000: #size-cells: 0 was expected
from schema $id: http://devicetree.org/schemas/mtd/nand-controller.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: /apb at 80000000/apbh-bus at 80000000/interrupt-controller at 80000000: failed to match any schema with compatible: ['fsl,imx28-icoll', 'fsl,icoll']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: spi at 80010000: $nodename:0: 'spi at 80010000' does not match '^mmc(@.*)?$'
from schema $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: nand-controller at 8000c000: #size-cells: 0 was expected
from schema $id: http://devicetree.org/schemas/mtd/gpmi-nand.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: spi at 80010000: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'bus-width', 'clocks', 'non-removable', 'vmmc-supply' were unexpected)
from schema $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: /apb at 80000000/apbh-bus at 80000000/interrupt-controller at 80000000: failed to match any schema with compatible: ['fsl,imx28-icoll', 'fsl,icoll']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: nand-controller at 8000c000: #size-cells: 0 was expected
from schema $id: http://devicetree.org/schemas/mtd/nand-controller.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: spi at 80012000: $nodename:0: 'spi at 80012000' does not match '^mmc(@.*)?$'
from schema $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: spi at 80010000: $nodename:0: 'spi at 80010000' does not match '^mmc(@.*)?$'
from schema $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: spi at 80012000: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'bus-width', 'clocks', 'keep-power-in-suspend', 'mmc-pwrseq', 'no-1-8-v', 'non-removable', 'pm-ignore-notify', 'vmmc-supply', 'wlan at 1' were unexpected)
from schema $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: spi at 80010000: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'bus-width', 'clocks', 'non-removable', 'vmmc-supply' were unexpected)
from schema $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: nand-controller at 8000c000: #size-cells: 0 was expected
from schema $id: http://devicetree.org/schemas/mtd/gpmi-nand.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: spi at 80012000: $nodename:0: 'spi at 80012000' does not match '^mmc(@.*)?$'
from schema $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: spi at 80012000: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'bus-width', 'clocks', 'keep-power-in-suspend', 'mmc-pwrseq', 'no-1-8-v', 'non-removable', 'pm-ignore-notify', 'vmmc-supply', 'wlan at 1' were unexpected)
from schema $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: nand-controller at 8000c000: #size-cells: 0 was expected
from schema $id: http://devicetree.org/schemas/mtd/nand-controller.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: spi at 80014000: Unevaluated properties are not allowed ('clocks' was unexpected)
from schema $id: http://devicetree.org/schemas/spi/mxs-spi.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: spi at 80010000: $nodename:0: 'spi at 80010000' does not match '^mmc(@.*)?$'
from schema $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: spi at 80010000: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'bus-width', 'clocks', 'non-removable', 'vmmc-supply' were unexpected)
from schema $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: spi at 80016000: Unevaluated properties are not allowed ('clocks' was unexpected)
from schema $id: http://devicetree.org/schemas/spi/mxs-spi.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: spi at 80014000: Unevaluated properties are not allowed ('clocks' was unexpected)
from schema $id: http://devicetree.org/schemas/spi/mxs-spi.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: spi at 80012000: $nodename:0: 'spi at 80012000' does not match '^mmc(@.*)?$'
from schema $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: spi at 80012000: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'bus-width', 'clocks', 'keep-power-in-suspend', 'mmc-pwrseq', 'no-1-8-v', 'non-removable', 'pm-ignore-notify', 'vmmc-supply', 'wlan at 1' were unexpected)
from schema $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: spi at 80016000: Unevaluated properties are not allowed ('clocks' was unexpected)
from schema $id: http://devicetree.org/schemas/spi/mxs-spi.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: spi at 80014000: Unevaluated properties are not allowed ('clocks' was unexpected)
from schema $id: http://devicetree.org/schemas/spi/mxs-spi.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: spi at 80016000: Unevaluated properties are not allowed ('clocks' was unexpected)
from schema $id: http://devicetree.org/schemas/spi/mxs-spi.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: pinctrl at 80018000: compatible: ['fsl,imx28-pinctrl', 'simple-bus'] is too long
from schema $id: http://devicetree.org/schemas/gpio/gpio-mxs.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: pinctrl at 80018000: 'auart0-2pins at 0', 'auart0 at 0', 'auart1-2pins at 0', 'auart1 at 0', 'auart2-2pins at 0', 'auart2-2pins at 1', 'auart2-pins at 0', 'auart3-2pins at 0', 'auart3-2pins at 1', 'auart3 at 0', 'auart4 at 0', 'auart4 at 1', 'can0 at 0', 'can1 at 0', 'duart-4pins at 0', 'duart at 0', 'duart at 1', 'gpmi-nand at 0', 'gpmi-status-cfg at 0', 'hog at 0', 'hog at 1', 'i2c0 at 0', 'i2c0 at 1', 'i2c1 at 0', 'i2c1 at 1', 'keypad-bttc at 0', 'lcdif-16bit at 0', 'lcdif-18bit at 0', 'lcdif-24bit at 0', 'lcdif-bttc at 0', 'lcdif-bttc at 1', 'lcdif-sync at 0', 'mac0 at 0', 'mac0 at 1', 'mac1 at 0', 'mmc0-4bit at 0', 'mmc0-8bit at 0', 'mmc0-cd-cfg at 0', 'mmc0-sck-cfg at 0', 'mmc1-4bit at 0', 'mmc1-cd-cfg at 0', 'mmc1-sck-cfg at 0', 'mmc2-4bit at 0', 'mmc2-4bit at 1', 'mmc2-cd-cfg at 0', 'mmc2-sck-cfg at 0', 'mmc2-sck-cfg at 1', 'pwm0 at 0', 'pwm2 at 0', 'pwm3 at 0', 'pwm3 at 1', 'pwm4 at 0', 'saif0 at 0', 'saif0 at 1', 'saif1 at 0', 'spi2 at 0', 'spi3 at 0', 'spi3 at 1', 'ssp1-sdio at 0', 'usb0 at 0', 'usb0 at 1', 'usb0id1 at 0', 'usb0id at 0', 'usb1 at 0', 'usb1 at 1', 'wifi_en_pin at 0' do not match any of the regexes: 'gpio@[0-9]+
$', 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/gpio/gpio-mxs.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: pinctrl at 80018000: compatible: ['fsl,imx28-pinctrl', 'simple-bus'] is too long
from schema $id: http://devicetree.org/schemas/gpio/gpio-mxs.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: pinctrl at 80018000: 'auart0-2pins at 0', 'auart0 at 0', 'auart1-2pins at 0', 'auart1 at 0', 'auart2-2pins at 0', 'auart2-2pins at 1', 'auart2-pins at 0', 'auart3-2pins at 0', 'auart3-2pins at 1', 'auart3 at 0', 'auart4 at 0', 'auart4 at 1', 'can0 at 0', 'can1 at 0', 'duart-4pins at 0', 'duart at 0', 'duart at 1', 'gpmi-nand at 0', 'gpmi-status-cfg at 0', 'hog at 0', 'hog at 1', 'i2c0 at 0', 'i2c0 at 1', 'i2c1 at 0', 'i2c1 at 1', 'keypad-bttc at 0', 'lcdif-16bit at 0', 'lcdif-18bit at 0', 'lcdif-24bit at 0', 'lcdif-bttc at 0', 'lcdif-bttc at 1', 'lcdif-sync at 0', 'mac0 at 0', 'mac0 at 1', 'mac1 at 0', 'mmc0-4bit at 0', 'mmc0-8bit at 0', 'mmc0-cd-cfg at 0', 'mmc0-sck-cfg at 0', 'mmc1-4bit at 0', 'mmc1-cd-cfg at 0', 'mmc1-sck-cfg at 0', 'mmc2-4bit at 0', 'mmc2-4bit at 1', 'mmc2-cd-cfg at 0', 'mmc2-sck-cfg at 0', 'mmc2-sck-cfg at 1', 'pwm0 at 0', 'pwm2 at 0', 'pwm3 at 0', 'pwm3 at 1', 'pwm4 at 0', 'saif0 at 0', 'saif0 at 1', 'saif1 at 0', 'spi2 at 0', 'spi3 at 0', 'spi3 at 1', 'ssp1-sdio at 0', 'usb0 at 0', 'usb0 at 1', 'usb0id1 at 0', 'usb0id at 0', 'usb1 at 0', 'usb1 at 1', 'wifi_en_pin at 0' do not match any of the regexes: 'gpio@[0-9]+
$', 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/gpio/gpio-mxs.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: pinctrl at 80018000: compatible: ['fsl,imx28-pinctrl', 'simple-bus'] is too long
from schema $id: http://devicetree.org/schemas/gpio/gpio-mxs.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: pinctrl at 80018000: 'auart0-2pins at 0', 'auart0 at 0', 'auart1-2pins at 0', 'auart1 at 0', 'auart2-2pins at 0', 'auart2-2pins at 1', 'auart2-pins at 0', 'auart3-2pins at 0', 'auart3-2pins at 1', 'auart3 at 0', 'auart4 at 0', 'auart4 at 1', 'can0 at 0', 'can1 at 0', 'duart-4pins at 0', 'duart at 0', 'duart at 1', 'gpmi-nand at 0', 'gpmi-status-cfg at 0', 'hog at 0', 'hog at 1', 'i2c0 at 0', 'i2c0 at 1', 'i2c1 at 0', 'i2c1 at 1', 'keypad-bttc at 0', 'lcdif-16bit at 0', 'lcdif-18bit at 0', 'lcdif-24bit at 0', 'lcdif-bttc at 0', 'lcdif-bttc at 1', 'lcdif-sync at 0', 'mac0 at 0', 'mac0 at 1', 'mac1 at 0', 'mmc0-4bit at 0', 'mmc0-8bit at 0', 'mmc0-cd-cfg at 0', 'mmc0-sck-cfg at 0', 'mmc1-4bit at 0', 'mmc1-cd-cfg at 0', 'mmc1-sck-cfg at 0', 'mmc2-4bit at 0', 'mmc2-4bit at 1', 'mmc2-cd-cfg at 0', 'mmc2-sck-cfg at 0', 'mmc2-sck-cfg at 1', 'pwm0 at 0', 'pwm2 at 0', 'pwm3 at 0', 'pwm3 at 1', 'pwm4 at 0', 'saif0 at 0', 'saif0 at 1', 'saif1 at 0', 'spi2 at 0', 'spi3 at 0', 'spi3 at 1', 'ssp1-sdio at 0', 'usb0 at 0', 'usb0 at 1', 'usb0id1 at 0', 'usb0id at 0', 'usb1 at 0', 'usb1 at 1', 'wifi_en_pin at 0' do not match any of the regexes: 'gpio@[0-9]+
$', 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/gpio/gpio-mxs.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: /apb at 80000000/apbh-bus at 80000000/digctl at 8001c000: failed to match any schema with compatible: ['fsl,imx28-digctl', 'fsl,imx23-digctl']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: /apb at 80000000/apbh-bus at 80000000/digctl at 8001c000: failed to match any schema with compatible: ['fsl,imx28-digctl', 'fsl,imx23-digctl']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: /apb at 80000000/apbh-bus at 80000000/digctl at 8001c000: failed to match any schema with compatible: ['fsl,imx28-digctl', 'fsl,imx23-digctl']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: /apb at 80000000/apbh-bus at 80000000/digctl at 8001c000: failed to match any schema with compatible: ['fsl,imx28-digctl', 'fsl,imx23-digctl']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: /apb at 80000000/apbh-bus at 80000000/digctl at 8001c000: failed to match any schema with compatible: ['fsl,imx28-digctl', 'fsl,imx23-digctl']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: /apb at 80000000/apbh-bus at 80000000/digctl at 8001c000: failed to match any schema with compatible: ['fsl,imx28-digctl', 'fsl,imx23-digctl']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: lcdif at 80030000: 'port' is a required property
from schema $id: http://devicetree.org/schemas/display/fsl,lcdif.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: lcdif at 80030000: 'display', 'display0', 'display1', 'lcd-supply' do not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/display/fsl,lcdif.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: lcdif at 80030000: 'port' is a required property
from schema $id: http://devicetree.org/schemas/display/fsl,lcdif.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: lcdif at 80030000: 'display', 'display0', 'display1', 'lcd-supply' do not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/display/fsl,lcdif.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: lcdif at 80030000: 'port' is a required property
from schema $id: http://devicetree.org/schemas/display/fsl,lcdif.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: lcdif at 80030000: 'display', 'display0', 'display1', 'lcd-supply' do not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/display/fsl,lcdif.yaml#
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: /apb at 80000000/apbx-bus at 80040000/lradc at 80050000: failed to match any schema with compatible: ['fsl,imx28-lradc']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: /apb at 80000000/apbx-bus at 80040000/lradc at 80050000: failed to match any schema with compatible: ['fsl,imx28-lradc']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: /apb at 80000000/apbx-bus at 80040000/lradc at 80050000: failed to match any schema with compatible: ['fsl,imx28-lradc']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: /apb at 80000000/apbx-bus at 80040000/timrot at 80068000: failed to match any schema with compatible: ['fsl,imx28-timrot', 'fsl,timrot']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-0.dtb: /apb at 80000000/apbx-bus at 80040000/timrot at 80068000: failed to match any schema with compatible: ['fsl,imx28-timrot', 'fsl,timrot']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: /apb at 80000000/apbx-bus at 80040000/timrot at 80068000: failed to match any schema with compatible: ['fsl,imx28-timrot', 'fsl,timrot']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-2.dtb: /apb at 80000000/apbx-bus at 80040000/timrot at 80068000: failed to match any schema with compatible: ['fsl,imx28-timrot', 'fsl,timrot']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: /apb at 80000000/apbx-bus at 80040000/timrot at 80068000: failed to match any schema with compatible: ['fsl,imx28-timrot', 'fsl,timrot']
arch/arm/boot/dts/nxp/mxs/imx28-btt3-1.dtb: /apb at 80000000/apbx-bus at 80040000/timrot at 80068000: failed to match any schema with compatible: ['fsl,imx28-timrot', 'fsl,timrot']
More information about the linux-arm-kernel
mailing list