xref: /freebsd/sys/contrib/device-tree/src/arm64/ti/k3-am62p-j722s-common-wakeup.dtsi (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only OR MIT
2*0e8011faSEmmanuel Vadot/*
3*0e8011faSEmmanuel Vadot * Device Tree file for the WAKEUP domain peripherals shared by AM62P and J722S
4*0e8011faSEmmanuel Vadot *
5*0e8011faSEmmanuel Vadot * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/
6*0e8011faSEmmanuel Vadot */
7*0e8011faSEmmanuel Vadot
8*0e8011faSEmmanuel Vadot&cbass_wakeup {
9*0e8011faSEmmanuel Vadot	wkup_conf: bus@43000000 {
10*0e8011faSEmmanuel Vadot		compatible = "simple-bus";
11*0e8011faSEmmanuel Vadot		reg = <0x00 0x43000000 0x00 0x20000>;
12*0e8011faSEmmanuel Vadot		#address-cells = <1>;
13*0e8011faSEmmanuel Vadot		#size-cells = <1>;
14*0e8011faSEmmanuel Vadot		ranges = <0x00 0x00 0x43000000 0x20000>;
15*0e8011faSEmmanuel Vadot		bootph-all;
16*0e8011faSEmmanuel Vadot
17*0e8011faSEmmanuel Vadot		chipid: chipid@14 {
18*0e8011faSEmmanuel Vadot			compatible = "ti,am654-chipid";
19*0e8011faSEmmanuel Vadot			reg = <0x14 0x4>;
20*0e8011faSEmmanuel Vadot			bootph-all;
21*0e8011faSEmmanuel Vadot		};
22*0e8011faSEmmanuel Vadot
23*0e8011faSEmmanuel Vadot		cpsw_mac_syscon: ethernet-mac-syscon@200 {
24*0e8011faSEmmanuel Vadot			compatible = "ti,am62p-cpsw-mac-efuse", "syscon";
25*0e8011faSEmmanuel Vadot			reg = <0x200 0x8>;
26*0e8011faSEmmanuel Vadot		};
27*0e8011faSEmmanuel Vadot
28*0e8011faSEmmanuel Vadot		usb0_phy_ctrl: syscon@4008 {
29*0e8011faSEmmanuel Vadot			compatible = "ti,am62-usb-phy-ctrl", "syscon";
30*0e8011faSEmmanuel Vadot			reg = <0x4008 0x4>;
31*0e8011faSEmmanuel Vadot		};
32*0e8011faSEmmanuel Vadot
33*0e8011faSEmmanuel Vadot		usb1_phy_ctrl: syscon@4018 {
34*0e8011faSEmmanuel Vadot			compatible = "ti,am62-usb-phy-ctrl", "syscon";
35*0e8011faSEmmanuel Vadot			reg = <0x4018 0x4>;
36*0e8011faSEmmanuel Vadot		};
37*0e8011faSEmmanuel Vadot	};
38*0e8011faSEmmanuel Vadot
39*0e8011faSEmmanuel Vadot	wkup_uart0: serial@2b300000 {
40*0e8011faSEmmanuel Vadot		compatible = "ti,am64-uart", "ti,am654-uart";
41*0e8011faSEmmanuel Vadot		reg = <0x00 0x2b300000 0x00 0x100>;
42*0e8011faSEmmanuel Vadot		interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
43*0e8011faSEmmanuel Vadot		power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
44*0e8011faSEmmanuel Vadot		clocks = <&k3_clks 114 0>;
45*0e8011faSEmmanuel Vadot		clock-names = "fclk";
46*0e8011faSEmmanuel Vadot		status = "disabled";
47*0e8011faSEmmanuel Vadot	};
48*0e8011faSEmmanuel Vadot
49*0e8011faSEmmanuel Vadot	wkup_i2c0: i2c@2b200000 {
50*0e8011faSEmmanuel Vadot		compatible = "ti,am64-i2c", "ti,omap4-i2c";
51*0e8011faSEmmanuel Vadot		reg = <0x00 0x2b200000 0x00 0x100>;
52*0e8011faSEmmanuel Vadot		interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
53*0e8011faSEmmanuel Vadot		#address-cells = <1>;
54*0e8011faSEmmanuel Vadot		#size-cells = <0>;
55*0e8011faSEmmanuel Vadot		power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>;
56*0e8011faSEmmanuel Vadot		clocks = <&k3_clks 107 4>;
57*0e8011faSEmmanuel Vadot		clock-names = "fck";
58*0e8011faSEmmanuel Vadot		status = "disabled";
59*0e8011faSEmmanuel Vadot	};
60*0e8011faSEmmanuel Vadot
61*0e8011faSEmmanuel Vadot	wkup_rtc0: rtc@2b1f0000 {
62*0e8011faSEmmanuel Vadot		compatible = "ti,am62-rtc";
63*0e8011faSEmmanuel Vadot		reg = <0x00 0x2b1f0000 0x00 0x100>;
64*0e8011faSEmmanuel Vadot		interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
65*0e8011faSEmmanuel Vadot		clocks = <&k3_clks 117 6> , <&k3_clks 117 0>;
66*0e8011faSEmmanuel Vadot		clock-names = "vbus", "osc32k";
67*0e8011faSEmmanuel Vadot		power-domains = <&k3_pds 117 TI_SCI_PD_EXCLUSIVE>;
68*0e8011faSEmmanuel Vadot		wakeup-source;
69*0e8011faSEmmanuel Vadot	};
70*0e8011faSEmmanuel Vadot
71*0e8011faSEmmanuel Vadot	wkup_rti0: watchdog@2b000000 {
72*0e8011faSEmmanuel Vadot		compatible = "ti,j7-rti-wdt";
73*0e8011faSEmmanuel Vadot		reg = <0x00 0x2b000000 0x00 0x100>;
74*0e8011faSEmmanuel Vadot		clocks = <&k3_clks 132 0>;
75*0e8011faSEmmanuel Vadot		power-domains = <&k3_pds 132 TI_SCI_PD_EXCLUSIVE>;
76*0e8011faSEmmanuel Vadot		assigned-clocks = <&k3_clks 132 0>;
77*0e8011faSEmmanuel Vadot		assigned-clock-parents = <&k3_clks 132 2>;
78*0e8011faSEmmanuel Vadot		/* Used by DM firmware */
79*0e8011faSEmmanuel Vadot		status = "reserved";
80*0e8011faSEmmanuel Vadot	};
81*0e8011faSEmmanuel Vadot
82*0e8011faSEmmanuel Vadot	wkup_vtm0: temperature-sensor@b00000 {
83*0e8011faSEmmanuel Vadot		compatible = "ti,j7200-vtm";
84*0e8011faSEmmanuel Vadot		reg = <0x00 0xb00000 0x00 0x400>,
85*0e8011faSEmmanuel Vadot		      <0x00 0xb01000 0x00 0x400>;
86*0e8011faSEmmanuel Vadot		power-domains = <&k3_pds 95 TI_SCI_PD_EXCLUSIVE>;
87*0e8011faSEmmanuel Vadot		#thermal-sensor-cells = <1>;
88*0e8011faSEmmanuel Vadot	};
89*0e8011faSEmmanuel Vadot
90*0e8011faSEmmanuel Vadot	wkup_r5fss0: r5fss@78000000 {
91*0e8011faSEmmanuel Vadot		compatible = "ti,am62-r5fss";
92*0e8011faSEmmanuel Vadot		#address-cells = <1>;
93*0e8011faSEmmanuel Vadot		#size-cells = <1>;
94*0e8011faSEmmanuel Vadot		ranges = <0x78000000 0x00 0x78000000 0x8000>,
95*0e8011faSEmmanuel Vadot			 <0x78100000 0x00 0x78100000 0x8000>;
96*0e8011faSEmmanuel Vadot		power-domains = <&k3_pds 119 TI_SCI_PD_EXCLUSIVE>;
97*0e8011faSEmmanuel Vadot		status = "disabled";
98*0e8011faSEmmanuel Vadot
99*0e8011faSEmmanuel Vadot		wkup_r5fss0_core0: r5f@78000000 {
100*0e8011faSEmmanuel Vadot			compatible = "ti,am62-r5f";
101*0e8011faSEmmanuel Vadot			reg = <0x78000000 0x00008000>,
102*0e8011faSEmmanuel Vadot			      <0x78100000 0x00008000>;
103*0e8011faSEmmanuel Vadot			reg-names = "atcm", "btcm";
104*0e8011faSEmmanuel Vadot			ti,sci = <&dmsc>;
105*0e8011faSEmmanuel Vadot			ti,sci-dev-id = <121>;
106*0e8011faSEmmanuel Vadot			ti,sci-proc-ids = <0x01 0xff>;
107*0e8011faSEmmanuel Vadot			resets = <&k3_reset 121 1>;
108*0e8011faSEmmanuel Vadot			firmware-name = "am62-wkup-r5f0_0-fw";
109*0e8011faSEmmanuel Vadot			ti,atcm-enable = <1>;
110*0e8011faSEmmanuel Vadot			ti,btcm-enable = <1>;
111*0e8011faSEmmanuel Vadot			ti,loczrama = <1>;
112*0e8011faSEmmanuel Vadot		};
113*0e8011faSEmmanuel Vadot	};
114*0e8011faSEmmanuel Vadot};
115