ARM: dts: imx7d-smegw01: Remove unneeded #address-cells/#size-cells
Subsystems (2)
Fabio Estevam
reviewerPATCH 1/4 ARM: dts: imx7d-smegw01: Remove unneeded #address-cells/#size-cells
From: Fabio Estevam <[email protected]>
Remove the unneeded #address-cells/#size-cells from sram@0 to fix the following 'make CHECK_DTBS=y imx7d-smegw01.dtb' warning:
sram@0: Unevaluated properties are not allowed ('#address-cells', '#size-cells' were unexpected) From schema: Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml
--- arch/arm/boot/dts/imx7d-smegw01.dts | 2 -- 1 file changed, 2 deletions(-)
arch/arm/boot/dts/imx7d-smegw01.dts +0 -2
@@ -97,8 +97,6 @@ &ecspi1 { sram@0 { compatible = "microchip,48l640"; reg = <0>; - #address-cells = <1>; - #size-cells = <1>; spi-max-frequency = <16000000>; }; };
Signature · 1 line
2.34.1
Fabio Estevam
reviewerPATCH 2/4 ARM: dts: imx7d-smegw01: Pass 'gpr' to the pinctrl groups
From: Fabio Estevam <[email protected]>
Pass 'gpr' to the pinctrl groups to fix the following 'make CHECK_DTBS=y imx7d-smegw01.dtb' warning:
pinctrl@30330000: 'rfkillrp', 'usbotg1', 'usbotg1-pwr', 'usbotg1-pwr-gpio' do not match any of the regexes: 'grp$', 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/pinctrl/fsl,imx7d-pinctrl.yaml
--- arch/arm/boot/dts/imx7d-smegw01.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/imx7d-smegw01.dts +4 -4
@@ -327,7 +327,7 @@ MX7D_PAD_SAI2_RX_DATA__GPIO6_IO21 0x17059 >; }; - pinctrl_rfkill: rfkillrp { + pinctrl_rfkill: rfkillgrp { fsl,pins = < MX7D_PAD_EPDC_DATA11__GPIO2_IO11 0x17059 >;
@@ -353,19 +353,19 @@ MX7D_PAD_UART3_RX_DATA__UART3_DCE_RX 0x74 >; }; - pinctrl_usbotg1_lpsr: usbotg1 { + pinctrl_usbotg1_lpsr: usbotg1grp { fsl,pins = < MX7D_PAD_LPSR_GPIO1_IO04__USB_OTG1_OC 0x04 >; }; - pinctrl_usbotg1_pwr: usbotg1-pwr { + pinctrl_usbotg1_pwr: usbotg1-pwrgrp { fsl,pins = < MX7D_PAD_LPSR_GPIO1_IO05__USB_OTG1_PWR 0x04 >; }; - pinctrl_usbotg1_pwr_gpio: usbotg1-pwr-gpio { + pinctrl_usbotg1_pwr_gpio: usbotg1-pwr-gpiogrp { fsl,pins = < MX7D_PAD_LPSR_GPIO1_IO05__GPIO1_IO5 0x04 >;
Signature · 1 line
2.34.1
Fabio Estevam
reviewerPATCH 3/4 ARM: dts: imx7d-smegw01: Use pinctrl-0 for pinctrl_rfkill
In reply to Fabio EstevamFrom: Fabio Estevam <[email protected]>
Use pinctrl-0 for pinctrl_rfkill to fix the following 'make CHECK_DTBS=y imx7d-smegw01.dtb' warning:
regulator-wlan-rfkill: 'pinctrl-0' is a dependency of 'pinctrl-names'
--- arch/arm/boot/dts/imx7d-smegw01.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx7d-smegw01.dts +1 -1
@@ -67,7 +67,7 @@ reg_wifi: regulator-wifi { reg_wlan_rfkill: regulator-wlan-rfkill { compatible = "regulator-fixed"; pinctrl-names = "default"; - pinctrl-2 = <&pinctrl_rfkill>; + pinctrl-0 = <&pinctrl_rfkill>; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-name = "wlan_rfkill";
Signature · 1 line
2.34.1
Fabio Estevam
reviewerPATCH 4/4 ARM: dts: imx7d-smegw01: Pass Ethernet aliases
In reply to Fabio EstevamFrom: Fabio Estevam <[email protected]>
Pass Ethernet aliases, so that the bootloader can properly pass MAC address to Linux.
This fixes the problem of getting a random MAC address for eth1 in Linux.
--- arch/arm/boot/dts/imx7d-smegw01.dts | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/imx7d-smegw01.dts +2 -0
@@ -13,6 +13,8 @@ / { compatible = "storopack,imx7d-smegw01", "fsl,imx7d"; aliases { + ethernet0 = &fec1; + ethernet1 = &fec2; mmc0 = &usdhc1; mmc1 = &usdhc3; mmc2 = &usdhc2;
Signature · 1 line
2.34.1
Shawn Guo
AppliedQuoted 9 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Remove the unneeded #address-cells/#size-cells from sram@0 to fix the following 'make CHECK_DTBS=y imx7d-smegw01.dtb' warning:
sram@0: Unevaluated properties are not allowed ('#address-cells', '#size-cells' were unexpected) From schema:
Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yamlSigned-off-by Fabio Estevam <[email protected]>
Applied all, thanks!