diff options
author | Vignesh Raghavendra <vigneshr@ti.com> | 2021-03-18 17:04:43 +0530 |
---|---|---|
committer | Nishanth Menon <nm@ti.com> | 2021-03-18 08:51:55 -0500 |
commit | fad4e18fe4dccacf68418da01e98c4b8fb590023 (patch) | |
tree | 80ce27e91b19b09dfd380b6076530d6784f5061f /arch/arm64/boot/dts/ti/k3-am64-main.dtsi | |
parent | 04a80a75baa1c80f7e5096147b6173c13ca3d3e0 (diff) | |
download | linux-stable-fad4e18fe4dccacf68418da01e98c4b8fb590023.tar.gz linux-stable-fad4e18fe4dccacf68418da01e98c4b8fb590023.tar.bz2 linux-stable-fad4e18fe4dccacf68418da01e98c4b8fb590023.zip |
arm64: dts: ti: k3-am64-main: Add ADC nodes
AM64 SoC has a single ADC IP with 8 channels. Add DT node for the same.
Default usecase is to control ADC from non Linux core on the system on
AM642 GP EVM, therefore mark the node as reserved in k3-am642-evm.dts
file. ADC lines are not pinned out on AM642 SK board, therefore disable
the node in k3-am642-sk.dts file.
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210318113443.20036-1-vigneshr@ti.com
Diffstat (limited to 'arch/arm64/boot/dts/ti/k3-am64-main.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index 7e7997e3adff..dc852f63d1a2 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -521,4 +521,21 @@ dr_mode = "otg"; }; }; + + tscadc0: tscadc@28001000 { + compatible = "ti,am654-tscadc", "ti,am3359-tscadc"; + reg = <0x00 0x28001000 0x00 0x1000>; + interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; + power-domains = <&k3_pds 0 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 0 0>; + assigned-clocks = <&k3_clks 0 0>; + assigned-clock-parents = <&k3_clks 0 3>; + assigned-clock-rates = <60000000>; + clock-names = "adc_tsc_fck"; + + adc { + #io-channel-cells = <1>; + compatible = "ti,am654-adc", "ti,am3359-adc"; + }; + }; }; |