ARM: dts: i.MX6: drop OCOTP MAC address provider
Subsystems (2)
PATCH 1/1 ARM: dts: i.MX6: drop OCOTP MAC address provider
Now that the MAC address can be read properly through the NVMEM framework, there is no need for the custom Barebox MAC address provider anymore. As <0x20 0x6> is defined in the nvmem-layout for imx6 to hold the mac, the definitions in the legacy format can safely be dropped.
--- arch/arm/dts/imx6dl-advantech-rom-7421.dts | 4 ---- arch/arm/dts/imx6dl-hummingboard.dts | 4 ---- arch/arm/dts/imx6dl-hummingboard2.dts | 4 ---- arch/arm/dts/imx6dl-wandboard.dts | 4 ---- arch/arm/dts/imx6q-h100.dts | 4 ---- arch/arm/dts/imx6q-hummingboard.dts | 4 ---- arch/arm/dts/imx6q-hummingboard2.dts | 4 ---- arch/arm/dts/imx6q-wandboard.dts | 4 ---- arch/arm/dts/imx6qdl-dfi-fs700-m60.dtsi | 4 ---- arch/arm/dts/imx6qdl-nitrogen6x.dtsi | 4 ---- arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 4 ---- arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi | 4 ---- arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi | 4 ---- arch/arm/dts/imx6qdl-sabrelite.dtsi | 4 ---- arch/arm/dts/imx6qdl-sabresd.dtsi | 4 ---- arch/arm/dts/imx6qdl-tqma6x.dtsi | 4 ---- arch/arm/dts/imx6qdl-tx6x.dtsi | 4 ---- arch/arm/dts/imx6s-riotboard.dts | 4 ---- 18 files changed, 72 deletions(-)
arch/arm/dts/imx6dl-advantech-rom-7421.dts +0 -4
@@ -86,10 +86,6 @@ &i2c1 { status = "okay"; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &uart1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>;
arch/arm/dts/imx6dl-hummingboard.dts +0 -4
@@ -19,10 +19,6 @@ environment { }; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &usdhc2 { #address-cells = <1>; #size-cells = <1>;
arch/arm/dts/imx6dl-hummingboard2.dts +0 -4
@@ -51,10 +51,6 @@ / { compatible = "solidrun,hummingboard2/dl", "fsl,imx6dl"; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &usdhc3 { #address-cells = <1>; #size-cells = <1>;
arch/arm/dts/imx6dl-wandboard.dts +0 -4
@@ -17,10 +17,6 @@ environment { reg = <0x10000000 0x0>; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &usdhc3 { #address-cells = <1>; #size-cells = <1>;
arch/arm/dts/imx6q-h100.dts +0 -4
@@ -50,10 +50,6 @@ environment { }; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &usdhc2 { #address-cells = <1>; #size-cells = <1>;
arch/arm/dts/imx6q-hummingboard.dts +0 -4
@@ -19,10 +19,6 @@ environment { }; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &usdhc2 { #address-cells = <1>; #size-cells = <1>;
arch/arm/dts/imx6q-hummingboard2.dts +0 -4
@@ -67,10 +67,6 @@ &sata { fsl,no-spread-spectrum; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &usdhc3 { #address-cells = <1>; #size-cells = <1>;
arch/arm/dts/imx6q-wandboard.dts +0 -4
@@ -17,10 +17,6 @@ environment { reg = <0x10000000 0x0>; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &usdhc3 { #address-cells = <1>; #size-cells = <1>;
arch/arm/dts/imx6qdl-dfi-fs700-m60.dtsi +0 -4
@@ -11,10 +11,6 @@ environment-emmc { }; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &usbh1 { phy_type = "utmi"; dr_mode = "host";
arch/arm/dts/imx6qdl-nitrogen6x.dtsi +0 -4
@@ -41,10 +41,6 @@ env_nor: partition@e0000 { }; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &usbh1 { phy_type = "utmi"; dr_mode = "host";
arch/arm/dts/imx6qdl-phytec-pfla02.dtsi +0 -4
@@ -103,10 +103,6 @@ MX6QDL_PAD_SD4_DAT7__GPIO2_IO15 0x80000000 }; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &som_eeprom { pagesize = <32>; };
arch/arm/dts/imx6qdl-phytec-phycard-som.dtsi +0 -4
@@ -144,10 +144,6 @@ MX6QDL_PAD_CSI0_DAT4__GPIO5_IO22 0x80000000 /* CD */ }; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &uart3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart3>;
arch/arm/dts/imx6qdl-phytec-phycore-som.dtsi +0 -4
@@ -107,10 +107,6 @@ partition@140000 { }; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &usdhc4 { partitions { compatible = "fixed-partitions";
arch/arm/dts/imx6qdl-sabrelite.dtsi +0 -4
@@ -40,10 +40,6 @@ env_nor: partition@e0000 { }; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &usbh1 { phy_type = "utmi"; dr_mode = "host";
arch/arm/dts/imx6qdl-sabresd.dtsi +0 -4
@@ -12,10 +12,6 @@ #include <arm/nxp/imx/imx6qdl-sabresd.dtsi> -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &usbh1 { phy_type = "utmi"; dr_mode = "host";
arch/arm/dts/imx6qdl-tqma6x.dtsi +0 -4
@@ -91,10 +91,6 @@ MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059 }; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &i2c1 { status = "okay"; clock-frequency = <100000>;
arch/arm/dts/imx6qdl-tx6x.dtsi +0 -4
@@ -79,10 +79,6 @@ MX6QDL_PAD_NANDF_ALE__SD4_RESET 0x0b0b1 }; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &usdhc4 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc4>;
arch/arm/dts/imx6s-riotboard.dts +0 -4
@@ -38,10 +38,6 @@ environment_usdhc4: partition@e0000 { }; }; -&ocotp { - barebox,provide-mac-address = <&fec 0x620>; -}; - &clks { fsl,pmic-stby-poweroff; };
---
base-commit: a7ae043343c89e8b75904a41174b9b4cf2df35a0
change-id: 20241213-mx6-remove-mac-a8bdc5a657f7
Best regards,
Signature · 1 line
Jonas Rebmann <[email protected]>
Quoted 6 lines · Jonas Rebmann
Now that the MAC address can be read properly through the NVMEM framework, there is no need for the custom Barebox MAC address provider anymore. As <
0x200x6> is defined in the nvmem-layout for imx6 to hold the mac, the definitions in the legacy format can safely be dropped.
Applied, thanks!
[1/1] ARM: dts: i.MX6: drop OCOTP MAC address provider
https://git.pengutronix.de/cgit/barebox/commit/?id=c7ecc80c9fe5 (link may not be stable)
Best regards,
Signature · 1 line
Sascha Hauer <[email protected]>