| 1 |
// SPDX-License-Identifier: GPL-2.0-only OR MIT |
| 2 |
/* |
| 3 |
* Device Tree Source for AM6 SoC Family Wakeup Domain peripherals |
| 4 |
* |
| 5 |
* Copyright (C) 2016-2024 Texas Instruments Incorporated - https://www.ti.com/ |
| 6 |
*/ |
| 7 |
|
| 8 |
&cbass_wakeup { |
| 9 |
dmsc: system-controller@44083000 { |
| 10 |
compatible = "ti,am654-sci"; |
| 11 |
ti,host-id = <12>; |
| 12 |
|
| 13 |
mbox-names = "rx", "tx"; |
| 14 |
|
| 15 |
mboxes = <&secure_proxy_main 11>, |
| 16 |
<&secure_proxy_main 13>; |
| 17 |
|
| 18 |
reg-names = "debug_messages"; |
| 19 |
reg = <0x44083000 0x1000>; |
| 20 |
|
| 21 |
k3_pds: power-controller { |
| 22 |
compatible = "ti,sci-pm-domain"; |
| 23 |
#power-domain-cells = <2>; |
| 24 |
bootph-all; |
| 25 |
}; |
| 26 |
|
| 27 |
k3_clks: clock-controller { |
| 28 |
compatible = "ti,k2g-sci-clk"; |
| 29 |
#clock-cells = <2>; |
| 30 |
bootph-all; |
| 31 |
}; |
| 32 |
|
| 33 |
k3_reset: reset-controller { |
| 34 |
compatible = "ti,sci-reset"; |
| 35 |
#reset-cells = <2>; |
| 36 |
bootph-all; |
| 37 |
}; |
| 38 |
}; |
| 39 |
|
| 40 |
wkup_conf: bus@43000000 { |
| 41 |
compatible = "simple-bus"; |
| 42 |
#address-cells = <1>; |
| 43 |
#size-cells = <1>; |
| 44 |
ranges = <0x0 0x43000000 0x20000>; |
| 45 |
|
| 46 |
chipid: chipid@14 { |
| 47 |
compatible = "ti,am654-chipid"; |
| 48 |
reg = <0x14 0x4>; |
| 49 |
bootph-all; |
| 50 |
}; |
| 51 |
}; |
| 52 |
|
| 53 |
wkup_pmx0: pinctrl@4301c000 { |
| 54 |
compatible = "pinctrl-single"; |
| 55 |
reg = <0x4301c000 0x118>; |
| 56 |
#pinctrl-cells = <1>; |
| 57 |
pinctrl-single,register-width = <32>; |
| 58 |
pinctrl-single,function-mask = <0xffffffff>; |
| 59 |
}; |
| 60 |
|
| 61 |
wkup_uart0: serial@42300000 { |
| 62 |
compatible = "ti,am654-uart"; |
| 63 |
reg = <0x42300000 0x100>; |
| 64 |
interrupts = <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>; |
| 65 |
clock-frequency = <48000000>; |
| 66 |
power-domains = <&k3_pds 150 TI_SCI_PD_EXCLUSIVE>; |
| 67 |
status = "disabled"; |
| 68 |
}; |
| 69 |
|
| 70 |
wkup_i2c0: i2c@42120000 { |
| 71 |
compatible = "ti,am654-i2c", "ti,omap4-i2c"; |
| 72 |
reg = <0x42120000 0x100>; |
| 73 |
interrupts = <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>; |
| 74 |
#address-cells = <1>; |
| 75 |
#size-cells = <0>; |
| 76 |
clock-names = "fck"; |
| 77 |
clocks = <&k3_clks 115 1>; |
| 78 |
power-domains = <&k3_pds 115 TI_SCI_PD_EXCLUSIVE>; |
| 79 |
status = "disabled"; |
| 80 |
}; |
| 81 |
|
| 82 |
intr_wkup_gpio: interrupt-controller@42200000 { |
| 83 |
compatible = "ti,sci-intr"; |
| 84 |
reg = <0x42200000 0x200>; |
| 85 |
ti,intr-trigger-type = <1>; |
| 86 |
interrupt-controller; |
| 87 |
interrupt-parent = <&gic500>; |
| 88 |
#interrupt-cells = <1>; |
| 89 |
ti,sci = <&dmsc>; |
| 90 |
ti,sci-dev-id = <156>; |
| 91 |
ti,interrupt-ranges = <0 712 16>; |
| 92 |
}; |
| 93 |
|
| 94 |
wkup_gpio0: gpio@42110000 { |
| 95 |
compatible = "ti,am654-gpio", "ti,keystone-gpio"; |
| 96 |
reg = <0x42110000 0x100>; |
| 97 |
gpio-controller; |
| 98 |
#gpio-cells = <2>; |
| 99 |
interrupt-parent = <&intr_wkup_gpio>; |
| 100 |
interrupts = <60>, <61>, <62>, <63>; |
| 101 |
interrupt-controller; |
| 102 |
#interrupt-cells = <2>; |
| 103 |
ti,ngpio = <56>; |
| 104 |
ti,davinci-gpio-unbanked = <0>; |
| 105 |
clocks = <&k3_clks 59 0>; |
| 106 |
clock-names = "gpio"; |
| 107 |
}; |
| 108 |
|
| 109 |
wkup_vtm0: temperature-sensor@42050000 { |
| 110 |
compatible = "ti,am654-vtm"; |
| 111 |
reg = <0x42050000 0x25c>; |
| 112 |
power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>; |
| 113 |
#thermal-sensor-cells = <1>; |
| 114 |
bootph-all; |
| 115 |
}; |
| 116 |
}; |