1// SPDX-License-Identifier: GPL-2.0-only or MIT 2/* 3 * Device Tree file for the AM62L wakeup domain peripherals 4 * Copyright (C) 2025 Texas Instruments Incorporated - https://www.ti.com/ 5 * 6 * Technical Reference Manual: https://www.ti.com/lit/pdf/sprujb4 7 */ 8 9#include <dt-bindings/bus/ti-sysc.h> 10 11&cbass_wakeup { 12 vtm0: temperature-sensor@b00000 { 13 compatible = "ti,j7200-vtm"; 14 reg = <0x00 0xb00000 0x00 0x400>, 15 <0x00 0xb01000 0x00 0x400>; 16 power-domains = <&scmi_pds 46>; 17 #thermal-sensor-cells = <1>; 18 }; 19 20 pmx0: pinctrl@4084000 { 21 compatible = "ti,am62l-padconf", "pinctrl-single"; 22 reg = <0x00 0x4084000 0x00 0x24c>; 23 pinctrl-single,register-width = <32>; 24 pinctrl-single,function-mask = <0xffffffff>; 25 #pinctrl-cells = <1>; 26 }; 27 28 wkup_gpio0: gpio@4201000 { 29 compatible = "ti,am64-gpio", "ti,keystone-gpio"; 30 reg = <0x00 0x04201000 0x00 0x100>; 31 gpio-controller; 32 #gpio-cells = <2>; 33 interrupt-parent = <&gic500>; 34 interrupts = <GIC_SPI 276 IRQ_TYPE_EDGE_RISING>, 35 <GIC_SPI 704 IRQ_TYPE_EDGE_RISING>, 36 <GIC_SPI 705 IRQ_TYPE_EDGE_RISING>, 37 <GIC_SPI 706 IRQ_TYPE_EDGE_RISING>, 38 <GIC_SPI 707 IRQ_TYPE_EDGE_RISING>, 39 <GIC_SPI 708 IRQ_TYPE_EDGE_RISING>, 40 <GIC_SPI 709 IRQ_TYPE_EDGE_RISING>, 41 <GIC_SPI 710 IRQ_TYPE_EDGE_RISING>; 42 interrupt-controller; 43 #interrupt-cells = <2>; 44 power-domains = <&scmi_pds 36>; 45 clocks = <&scmi_clk 146>; 46 clock-names = "gpio"; 47 ti,ngpio = <7>; 48 ti,davinci-gpio-unbanked = <0>; 49 status = "disabled"; 50 }; 51 52 wkup_timer0: timer@2b100000 { 53 compatible = "ti,am654-timer"; 54 reg = <0x00 0x2b100000 0x00 0x400>; 55 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>; 56 clocks = <&scmi_clk 93>; 57 clock-names = "fck"; 58 power-domains = <&scmi_pds 19>; 59 ti,timer-pwm; 60 }; 61 62 wkup_timer1: timer@2b110000 { 63 compatible = "ti,am654-timer"; 64 reg = <0x00 0x2b110000 0x00 0x400>; 65 interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>; 66 clocks = <&scmi_clk 98>; 67 clock-names = "fck"; 68 power-domains = <&scmi_pds 20>; 69 ti,timer-pwm; 70 }; 71 72 wkup_i2c0: i2c@2b200000 { 73 compatible = "ti,am64-i2c", "ti,omap4-i2c"; 74 reg = <0x00 0x2b200000 0x00 0x100>; 75 interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; 76 #address-cells = <1>; 77 #size-cells = <0>; 78 power-domains = <&scmi_pds 57>; 79 clocks = <&scmi_clk 262>; 80 clock-names = "fck"; 81 status = "disabled"; 82 }; 83 84 target-module@2b300050 { 85 compatible = "ti,sysc-omap2", "ti,sysc"; 86 reg = <0x00 0x2b300050 0x00 0x4>, 87 <0x00 0x2b300054 0x00 0x4>, 88 <0x00 0x2b300058 0x00 0x4>; 89 reg-names = "rev", "sysc", "syss"; 90 ranges = <0x00 0x00 0x2b300000 0x100000>; 91 #address-cells = <1>; 92 #size-cells = <1>; 93 power-domains = <&scmi_pds 83>; 94 clocks = <&scmi_clk 324>; 95 clock-names = "fck"; 96 ti,sysc-mask = <(SYSC_OMAP2_ENAWAKEUP | 97 SYSC_OMAP2_SOFTRESET | 98 SYSC_OMAP2_AUTOIDLE)>; 99 ti,sysc-sidle = <SYSC_IDLE_FORCE>, 100 <SYSC_IDLE_NO>, 101 <SYSC_IDLE_SMART>, 102 <SYSC_IDLE_SMART_WKUP>; 103 ti,syss-mask = <1>; 104 ti,no-reset-on-init; 105 status = "disabled"; 106 107 wkup_uart0: serial@0 { 108 compatible = "ti,am64-uart", "ti,am654-uart"; 109 reg = <0x00 0x100>; 110 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 111 clocks = <&scmi_clk 324>; 112 assigned-clocks = <&scmi_clk 324>; 113 clock-names = "fclk"; 114 status = "disabled"; 115 }; 116 }; 117 118 wkup_conf: bus@43000000 { 119 compatible = "simple-bus"; 120 ranges = <0x00 0x00 0x43000000 0x80000>; 121 #address-cells = <1>; 122 #size-cells = <1>; 123 124 chipid: chipid@14 { 125 compatible = "ti,am654-chipid"; 126 reg = <0x14 0x4>; 127 bootph-all; 128 }; 129 130 cpsw_mac_syscon: ethernet-mac-syscon@2000 { 131 compatible = "ti,am62p-cpsw-mac-efuse", "syscon"; 132 reg = <0x2000 0x8>; 133 }; 134 135 usb_phy_ctrl: syscon@45000 { 136 compatible = "ti,am62-usb-phy-ctrl", "syscon"; 137 reg = <0x45000 0x1000>; 138 bootph-all; 139 }; 140 }; 141}; 142