xref: /freebsd/sys/contrib/device-tree/src/arm64/ti/k3-am62p-wakeup.dtsi (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
101950c46SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only OR MIT
2aa1a8ff2SEmmanuel Vadot/*
3aa1a8ff2SEmmanuel Vadot * Device Tree file for the AM62P wakeup domain peripherals
401950c46SEmmanuel Vadot * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/
5aa1a8ff2SEmmanuel Vadot */
6aa1a8ff2SEmmanuel Vadot
7aa1a8ff2SEmmanuel Vadot&cbass_wakeup {
8aa1a8ff2SEmmanuel Vadot	wkup_conf: bus@43000000 {
9aa1a8ff2SEmmanuel Vadot		compatible = "simple-bus";
10aa1a8ff2SEmmanuel Vadot		reg = <0x00 0x43000000 0x00 0x20000>;
11aa1a8ff2SEmmanuel Vadot		#address-cells = <1>;
12aa1a8ff2SEmmanuel Vadot		#size-cells = <1>;
13aa1a8ff2SEmmanuel Vadot		ranges = <0x00 0x00 0x43000000 0x20000>;
1484943d6fSEmmanuel Vadot		bootph-all;
15aa1a8ff2SEmmanuel Vadot
16aa1a8ff2SEmmanuel Vadot		chipid: chipid@14 {
17aa1a8ff2SEmmanuel Vadot			compatible = "ti,am654-chipid";
18aa1a8ff2SEmmanuel Vadot			reg = <0x14 0x4>;
1984943d6fSEmmanuel Vadot			bootph-all;
20aa1a8ff2SEmmanuel Vadot		};
21*7d0873ebSEmmanuel Vadot
22*7d0873ebSEmmanuel Vadot		usb0_phy_ctrl: syscon@4008 {
23*7d0873ebSEmmanuel Vadot			compatible = "ti,am62-usb-phy-ctrl", "syscon";
24*7d0873ebSEmmanuel Vadot			reg = <0x4008 0x4>;
25*7d0873ebSEmmanuel Vadot		};
26*7d0873ebSEmmanuel Vadot
27*7d0873ebSEmmanuel Vadot		usb1_phy_ctrl: syscon@4018 {
28*7d0873ebSEmmanuel Vadot			compatible = "ti,am62-usb-phy-ctrl", "syscon";
29*7d0873ebSEmmanuel Vadot			reg = <0x4018 0x4>;
30*7d0873ebSEmmanuel Vadot		};
31aa1a8ff2SEmmanuel Vadot	};
32aa1a8ff2SEmmanuel Vadot
33aa1a8ff2SEmmanuel Vadot	wkup_uart0: serial@2b300000 {
34aa1a8ff2SEmmanuel Vadot		compatible = "ti,am64-uart", "ti,am654-uart";
35aa1a8ff2SEmmanuel Vadot		reg = <0x00 0x2b300000 0x00 0x100>;
36aa1a8ff2SEmmanuel Vadot		interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
37aa1a8ff2SEmmanuel Vadot		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
38aa1a8ff2SEmmanuel Vadot		clocks = <&k3_clks 114 0>;
39aa1a8ff2SEmmanuel Vadot		clock-names = "fclk";
40aa1a8ff2SEmmanuel Vadot		status = "disabled";
41aa1a8ff2SEmmanuel Vadot	};
4284943d6fSEmmanuel Vadot
4384943d6fSEmmanuel Vadot	wkup_i2c0: i2c@2b200000 {
4484943d6fSEmmanuel Vadot		compatible = "ti,am64-i2c", "ti,omap4-i2c";
4584943d6fSEmmanuel Vadot		reg = <0x00 0x2b200000 0x00 0x100>;
4684943d6fSEmmanuel Vadot		interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
4784943d6fSEmmanuel Vadot		#address-cells = <1>;
4884943d6fSEmmanuel Vadot		#size-cells = <0>;
4984943d6fSEmmanuel Vadot		power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>;
5084943d6fSEmmanuel Vadot		clocks = <&k3_clks 107 4>;
5184943d6fSEmmanuel Vadot		clock-names = "fck";
5284943d6fSEmmanuel Vadot		status = "disabled";
5384943d6fSEmmanuel Vadot	};
5484943d6fSEmmanuel Vadot
5584943d6fSEmmanuel Vadot	wkup_rtc0: rtc@2b1f0000 {
5684943d6fSEmmanuel Vadot		compatible = "ti,am62-rtc";
5784943d6fSEmmanuel Vadot		reg = <0x00 0x2b1f0000 0x00 0x100>;
5884943d6fSEmmanuel Vadot		interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
5984943d6fSEmmanuel Vadot		clocks = <&k3_clks 117 6> , <&k3_clks 117 0>;
6084943d6fSEmmanuel Vadot		clock-names = "vbus", "osc32k";
6184943d6fSEmmanuel Vadot		power-domains = <&k3_pds 117 TI_SCI_PD_EXCLUSIVE>;
6284943d6fSEmmanuel Vadot		wakeup-source;
6384943d6fSEmmanuel Vadot	};
6484943d6fSEmmanuel Vadot
6584943d6fSEmmanuel Vadot	wkup_rti0: watchdog@2b000000 {
6684943d6fSEmmanuel Vadot		compatible = "ti,j7-rti-wdt";
6784943d6fSEmmanuel Vadot		reg = <0x00 0x2b000000 0x00 0x100>;
6884943d6fSEmmanuel Vadot		clocks = <&k3_clks 132 0>;
6984943d6fSEmmanuel Vadot		power-domains = <&k3_pds 132 TI_SCI_PD_EXCLUSIVE>;
7084943d6fSEmmanuel Vadot		assigned-clocks = <&k3_clks 132 0>;
7184943d6fSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 132 2>;
7284943d6fSEmmanuel Vadot		/* Used by DM firmware */
7384943d6fSEmmanuel Vadot		status = "reserved";
7484943d6fSEmmanuel Vadot	};
7584943d6fSEmmanuel Vadot
7684943d6fSEmmanuel Vadot	wkup_vtm0: temperature-sensor@b00000 {
7784943d6fSEmmanuel Vadot		compatible = "ti,j7200-vtm";
7884943d6fSEmmanuel Vadot		reg = <0x00 0xb00000 0x00 0x400>,
7984943d6fSEmmanuel Vadot		      <0x00 0xb01000 0x00 0x400>;
8084943d6fSEmmanuel Vadot		power-domains = <&k3_pds 95 TI_SCI_PD_EXCLUSIVE>;
8184943d6fSEmmanuel Vadot		#thermal-sensor-cells = <1>;
8284943d6fSEmmanuel Vadot	};
8384943d6fSEmmanuel Vadot
8484943d6fSEmmanuel Vadot	wkup_r5fss0: r5fss@78000000 {
8584943d6fSEmmanuel Vadot		compatible = "ti,am62-r5fss";
8684943d6fSEmmanuel Vadot		#address-cells = <1>;
8784943d6fSEmmanuel Vadot		#size-cells = <1>;
8884943d6fSEmmanuel Vadot		ranges = <0x78000000 0x00 0x78000000 0x8000>,
8984943d6fSEmmanuel Vadot			 <0x78100000 0x00 0x78100000 0x8000>;
9084943d6fSEmmanuel Vadot		power-domains = <&k3_pds 119 TI_SCI_PD_EXCLUSIVE>;
9101950c46SEmmanuel Vadot		status = "disabled";
9284943d6fSEmmanuel Vadot
9384943d6fSEmmanuel Vadot		wkup_r5fss0_core0: r5f@78000000 {
9484943d6fSEmmanuel Vadot			compatible = "ti,am62-r5f";
9584943d6fSEmmanuel Vadot			reg = <0x78000000 0x00008000>,
9684943d6fSEmmanuel Vadot			      <0x78100000 0x00008000>;
9784943d6fSEmmanuel Vadot			reg-names = "atcm", "btcm";
9884943d6fSEmmanuel Vadot			ti,sci = <&dmsc>;
9984943d6fSEmmanuel Vadot			ti,sci-dev-id = <121>;
10084943d6fSEmmanuel Vadot			ti,sci-proc-ids = <0x01 0xff>;
10184943d6fSEmmanuel Vadot			resets = <&k3_reset 121 1>;
10284943d6fSEmmanuel Vadot			firmware-name = "am62-wkup-r5f0_0-fw";
10384943d6fSEmmanuel Vadot			ti,atcm-enable = <1>;
10484943d6fSEmmanuel Vadot			ti,btcm-enable = <1>;
10584943d6fSEmmanuel Vadot			ti,loczrama = <1>;
10684943d6fSEmmanuel Vadot		};
10784943d6fSEmmanuel Vadot	};
108aa1a8ff2SEmmanuel Vadot};
109