]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-am68-sk*: Add bootph-* properties
authorManorit Chawdhry <m-chawdhry@ti.com>
Thu, 24 Oct 2024 05:21:06 +0000 (10:51 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 28 Oct 2024 15:17:23 +0000 (20:47 +0530)
Adds bootph-* properties to the leaf nodes to enable bootloaders to
utilise them.

Following adds bootph-* to:
- main_uart8, mcu_uart0(DM), wkup_uart0(TIFS) for Traces
- mmc1, ospi0 for enabling various bootmodes.
- eeprom for board detection

Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Link: https://lore.kernel.org/r/20241024-b4-upstream-bootph-all-v6-9-2af90e3a4fe7@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi

index d5ceab79536ca45fb1421a2a2e133db6a458b518..11522b36e0cece248571b27819c8a87e0ffe06e2 100644 (file)
                        J721S2_IOPAD(0x0d0, PIN_INPUT, 11) /* (AF26) SPI0_CS1.UART8_RXD */
                        J721S2_IOPAD(0x0d4, PIN_OUTPUT, 11) /* (AH27) SPI0_CLK.UART8_TXD */
                >;
+               bootph-all;
        };
 
        main_i2c0_pins_default: main-i2c0-default-pins {
                        J721S2_IOPAD(0x0f0, PIN_INPUT, 0) /* (R22) MMC1_DAT3 */
                        J721S2_IOPAD(0x0e8, PIN_INPUT, 8) /* (AE25) TIMER_IO0.MMC1_SDCD */
                >;
+               bootph-all;
        };
 
        vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
                        J721S2_WKUP_IOPAD(0x048, PIN_INPUT, 0) /* (D28) WKUP_UART0_RXD */
                        J721S2_WKUP_IOPAD(0x04c, PIN_OUTPUT, 0) /* (D27) WKUP_UART0_TXD */
                >;
+               bootph-all;
        };
 
        mcu_cpsw_pins_default: mcu-cpsw-default-pins {
                        J721S2_WKUP_IOPAD(0x08c, PIN_INPUT, 0) /* (C24) WKUP_GPIO0_13.MCU_UART0_RXD */
                        J721S2_WKUP_IOPAD(0x088, PIN_OUTPUT, 0) /* (C25) WKUP_GPIO0_12.MCU_UART0_TXD */
                >;
+               bootph-all;
        };
 
        mcu_rpi_header_gpio0_pins0_default: mcu-rpi-header-gpio0-default-pins-0 {
        status = "reserved";
        pinctrl-names = "default";
        pinctrl-0 = <&wkup_uart0_pins_default>;
+       bootph-all;
 };
 
 &wkup_i2c0 {
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&mcu_uart0_pins_default>;
+       bootph-all;
 };
 
 &main_uart8 {
        pinctrl-0 = <&main_uart8_pins_default>;
        /* Shared with TFA on this platform */
        power-domains = <&k3_pds 357 TI_SCI_PD_SHARED>;
+       bootph-all;
 };
 
 &main_i2c0 {
        disable-wp;
        vmmc-supply = <&vdd_mmc1>;
        vqmmc-supply = <&vdd_sd_dv>;
+       bootph-all;
 };
 
 &mcu_cpsw {
index 5bc0d2fb4b8f3969d6f372a374be91e5b5cbd821..4ca2d4e2fb9b063086b4bec2a184e01dfab11f24 100644 (file)
                        J721S2_WKUP_IOPAD(0x098, PIN_INPUT, 0) /* (H24) WKUP_I2C0_SCL */
                        J721S2_WKUP_IOPAD(0x09c, PIN_INPUT, 0) /* (H27) WKUP_I2C0_SDA */
                >;
+               bootph-all;
        };
 };
 
                /* AT24C512C-MAHM-T */
                compatible = "atmel,24c512";
                reg = <0x51>;
+               bootph-all;
        };
 };
 
                cdns,read-delay = <4>;
 
                partitions {
-                       bootph-all;
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
                        };
 
                        partition@3fc0000 {
-                               bootph-pre-ram;
                                label = "ospi.phypattern";
                                reg = <0x3fc0000 0x40000>;
+                               bootph-all;
                        };
                };
        };