diff options
author | 2021-03-19 10:49:49 +0530 | |
---|---|---|
committer | 2021-03-22 10:41:24 -0500 | |
commit | 01a91e01b8fddaeb37b953a5e39eafbdf2d4b061 (patch) | |
tree | 673202c15f81a64a9ac7d3c4ea37daaac7e1c5e1 /arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi | |
parent | arm64: dts: ti: k3-am64-evm/sk: Add OSPI flash DT node (diff) | |
download | linux-01a91e01b8fddaeb37b953a5e39eafbdf2d4b061.tar.gz linux-01a91e01b8fddaeb37b953a5e39eafbdf2d4b061.tar.bz2 linux-01a91e01b8fddaeb37b953a5e39eafbdf2d4b061.zip |
arm64: dts: ti: k3-am64: Add GPIO DT nodes
Add device tree nodes for GPIO modules and interrupt controller in main
and mcu domains.
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210319051950.17549-2-a-govindraju@ti.com
Diffstat (limited to 'arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi index 1d2be485a669..99e94dee1bd4 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi @@ -73,4 +73,31 @@ power-domains = <&k3_pds 148 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 148 0>; }; + + mcu_gpio_intr: interrupt-controller1 { + compatible = "ti,sci-intr"; + ti,intr-trigger-type = <1>; + interrupt-controller; + interrupt-parent = <&gic500>; + #interrupt-cells = <1>; + ti,sci = <&dmsc>; + ti,sci-dev-id = <5>; + ti,interrupt-ranges = <0 104 4>; + }; + + mcu_gpio0: gpio@4201000 { + compatible = "ti,am64-gpio", "keystone-gpio"; + reg = <0x0 0x4201000 0x0 0x100>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&mcu_gpio_intr>; + interrupts = <30>, <31>; + interrupt-controller; + #interrupt-cells = <2>; + ti,ngpio = <23>; + ti,davinci-gpio-unbanked = <0>; + power-domains = <&k3_pds 79 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 79 0>; + clock-names = "gpio"; + }; }; |