arm64: dts: ti: k3-j721e-beagleboneai64: Move eeprom WP gpio pinctrl to eeprom node
authorNishanth Menon <nm@ti.com>
Tue, 6 Jun 2023 18:22:10 +0000 (13:22 -0500)
committerVignesh Raghavendra <vigneshr@ti.com>
Thu, 15 Jun 2023 05:35:47 +0000 (11:05 +0530)
Move the eeprom WP GPIO mux configuration to be part of the eeprom node
instead of the I2C node.

Cc: Robert Nelson <robertcnelson@gmail.com>
Suggested-by: Udit Kumar <u-kumar1@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20230606182220.3661956-5-nm@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts

index e9fadac..ecf7811 100644 (file)
 &wkup_i2c0 {
        status = "okay";
        pinctrl-names = "default";
-       pinctrl-0 = <&wkup_i2c0_pins_default &eeprom_wp_pins_default>;
+       pinctrl-0 = <&wkup_i2c0_pins_default>;
        clock-frequency = <400000>;
 
        eeprom@50 {
                compatible = "atmel,24c04";
                reg = <0x50>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&eeprom_wp_pins_default>;
        };
 };