// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/ */ /dts-v1/; #include "k3-j784s4-evm.dts" #include "k3-j784s4-ddr-evm-lp4-4266.dtsi" #include "k3-j784s4-ddr.dtsi" #include "k3-j784s4-evm-u-boot.dtsi" / { chosen { firmware-loader = &fs_loader0; stdout-path = &main_uart8; tick-timer = &timer1; }; aliases { remoteproc0 = &sysctrler; remoteproc1 = &a72_0; }; fs_loader0: fs_loader@0 { compatible = "u-boot,fs-loader"; bootph-all; }; a72_0: a72@0 { compatible = "ti,am654-rproc"; reg = <0x0 0x00a90000 0x0 0x10>; power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>, <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>; resets = <&k3_reset 202 0>; clocks = <&k3_clks 61 0>; assigned-clocks = <&k3_clks 61 0>, <&k3_clks 202 0>; assigned-clock-parents = <&k3_clks 61 2>; assigned-clock-rates = <200000000>, <2000000000>; ti,sci = <&sms>; ti,sci-proc-id = <32>; ti,sci-host-id = <10>; bootph-pre-ram; }; clk_200mhz: dummy_clock_200mhz { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <200000000>; bootph-pre-ram; }; clk_19_2mhz: dummy_clock_19_2mhz { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <19200000>; bootph-pre-ram; }; }; &cbass_mcu_wakeup { sa3_secproxy: secproxy@44880000 { bootph-pre-ram; compatible = "ti,am654-secure-proxy"; reg = <0x0 0x44880000 0x0 0x20000>, <0x0 0x44860000 0x0 0x20000>, <0x0 0x43600000 0x0 0x10000>; reg-names = "rt", "scfg", "target_data"; #mbox-cells = <1>; }; mcu_secproxy: secproxy@2a380000 { compatible = "ti,am654-secure-proxy"; reg = <0x0 0x2a380000 0x0 0x80000>, <0x0 0x2a400000 0x0 0x80000>, <0x0 0x2a480000 0x0 0x80000>; reg-names = "rt", "scfg", "target_data"; #mbox-cells = <1>; bootph-pre-ram; }; sysctrler: sysctrler { compatible = "ti,am654-system-controller"; mboxes= <&mcu_secproxy 4>, <&mcu_secproxy 5>, <&sa3_secproxy 5>; mbox-names = "tx", "rx", "boot_notify"; bootph-pre-ram; }; dm_tifs: dm-tifs { compatible = "ti,j721e-dm-sci"; ti,host-id = <3>; ti,secure-host; mbox-names = "rx", "tx"; mboxes= <&mcu_secproxy 21>, <&mcu_secproxy 23>; bootph-pre-ram; }; }; &main_pmx0 { bootph-pre-ram; main_usbss0_pins_default: main-usbss0-pins-default { pinctrl-single,pins = < J784S4_IOPAD(0x0ec, PIN_OUTPUT, 6) /* (AN37) TIMER_IO1.USB0_DRVVBUS */ >; }; }; &wkup_pmx2 { bootph-pre-ram; wkup_gpio_pins_default: wkup_gpio_pins_default { pinctrl-single,pins = < J784S4_WKUP_IOPAD(0x070, PIN_INPUT, 7) /* (L37) WKUP_GPIO0_6 */ >; }; wkup_i2c0_pins_default: wkup-i2c0-pins-default { bootph-pre-ram; pinctrl-single,pins = < J784S4_WKUP_IOPAD(0x98, PIN_INPUT, 0) /* (N33) WKUP_I2C0_SCL */ J784S4_WKUP_IOPAD(0x9c, PIN_INPUT, 0) /* (N35) WKUP_I2C0_SDA */ >; }; }; &sms { mboxes= <&mcu_secproxy 8>, <&mcu_secproxy 6>, <&mcu_secproxy 5>; mbox-names = "tx", "rx", "notify"; ti,host-id = <4>; ti,secure-host; bootph-pre-ram; }; &wkup_uart0 { bootph-pre-ram; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&wkup_uart0_pins_default>; }; &mcu_uart0 { bootph-pre-ram; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&mcu_uart0_pins_default>; }; &main_uart8 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_uart8_pins_default>; }; &main_sdhci0 { /delete-property/ power-domains; /delete-property/ assigned-clocks; /delete-property/ assigned-clock-parents; status = "okay"; clock-names = "clk_xin"; clocks = <&clk_200mhz>; ti,driver-strength-ohm = <50>; non-removable; bus-width = <8>; }; &main_sdhci1 { /delete-property/ power-domains; /delete-property/ assigned-clocks; /delete-property/ assigned-clock-parents; status = "okay"; pinctrl-0 = <&main_mmc1_pins_default>; pinctrl-names = "default"; clock-names = "clk_xin"; clocks = <&clk_200mhz>; ti,driver-strength-ohm = <50>; }; &usbss0 { pinctrl-names = "default"; pinctrl-0 = <&main_usbss0_pins_default>; ti,vbus-divider; }; &usb0 { dr_mode = "peripheral"; maximum-speed = "super-speed"; }; &wkup_gpio0 { pinctrl-names = "default"; pinctrl-0 = <&wkup_gpio_pins_default>; }; &ospi0 { reg = <0x0 0x47040000 0x0 0x100>, <0x0 0x50000000 0x0 0x8000000>; }; &ospi0_nand { status = "okay"; }; &ospi1 { reg = <0x0 0x47050000 0x0 0x100>, <0x0 0x58000000 0x0 0x8000000>; }; &mcu_ringacc { ti,sci = <&dm_tifs>; }; &mcu_udmap { ti,sci = <&dm_tifs>; }; &wkup_i2c0 { bootph-pre-ram; pinctrl-names = "default"; pinctrl-0 = <&wkup_i2c0_pins_default>; clock-frequency = <400000>; tps659413: tps659413@48 { compatible = "ti,tps659413"; reg = <0x48>; bootph-pre-ram; regulators: regulators { bootph-pre-ram; buck12_reg: buck12 { /*VDD_DDR_1V1*/ regulator-name = "buck12"; regulator-min-microvolt = <1100000>; regulator-max-microvolt = <1100000>; regulator-always-on; regulator-boot-on; bootph-pre-ram; }; }; esm: esm { compatible = "ti,tps659413-esm"; bootph-pre-ram; }; }; };