]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: dts: k3-j721e-common-proc-board: Fully enable wkup_i2c0 use
authorAndreas Dannenberg <dannenberg@ti.com>
Tue, 7 Jan 2020 07:45:56 +0000 (13:15 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 20 Jan 2020 04:40:28 +0000 (10:10 +0530)
Make the wkup_i2c0 module usable across all stages of U-Boot by adding
the needed definitions including the associated pinmux definitions.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi
arch/arm/dts/k3-j721e-common-proc-board.dts

index aff0efaca85d7abdcc77ca18f45bfa03ecec934d..7ea4d8de367e07007885d3ea4fd11fa476adde27 100644 (file)
 &main_mmc1_pins_default {
        u-boot,dm-spl;
 };
+
+&wkup_i2c0_pins_default {
+       u-boot,dm-spl;
+};
+
+&wkup_i2c0 {
+       u-boot,dm-spl;
+};
index 9ed538ca8c89297f9a56bcd29cf72641429f4429..f33a6d5bcff566cea0005ba57abc10caa09c7d3d 100644 (file)
        };
 };
 
+&wkup_pmx0 {
+       wkup_i2c0_pins_default: wkup-i2c0-pins-default {
+               pinctrl-single,pins = <
+                       J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */
+                       J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */
+               >;
+       };
+};
+
 &usbss0 {
        pinctrl-names = "default";
        pinctrl-0 = <&main_usbss0_pins_default>;
        dr_mode = "host";
        maximum-speed = "high-speed";
 };
+
+&wkup_i2c0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&wkup_i2c0_pins_default>;
+       clock-frequency = <400000>;
+};