mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-14 08:34:02 +08:00
0e9aa96859
A series of changes to configure IPU and DSP remoteproc for omap4 & 5. And a change to configure the default mux for am335x-pocketbeagle, and a change to use https for external links. -----BEGIN PGP SIGNATURE----- iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAl8N0/IRHHRvbnlAYXRv bWlkZS5jb20ACgkQG9Q+yVyrpXOLRxAAw4Uu8yTUC+VEil50mEgVfXOEhTapdlkU 5nG9YL4AeBSzy6OqU/sgxQROUEGzrEa/ftu4QNN0gIjBJv9oiS2/vkE8nw+N0Wtv ietiSUxWY7Rca4NbLbbLC8X/KNtOu0UbX305cFiPGREAqXqPGiI7iBOm9xJUy5Sz uh92+VUmmWA9GO1jarsqERO7EQcEVt5PAfcXiyx8VK+mTnoRJUl+6Aa3Vw3qHO6V lzeAJcPksAp2TsJN2/44JJa7tiiJM9wAxtf5c88yWn15O0IqaE0YwsVXML3PF/C3 +4y+EEOH6n/MyQZKxOLyQHPk7h0f1GHLrZ0cmKWC096YrmCt29IegDdECxqjgMJH 4UMFCWI0c2wPZqom3urvWkByJHOknG3g+cAl/WWZnvkLEJtMXZCIr/qQVOSPqxrd soG4uNtFSh/4tSFFM53b7BNoq1k6NQOCcHH7Yi5kLtkR+86zyHzvr6dnMqwRyxHG fqAT6I/p3gLmfbE78SBen9KuBy8/N34LUIcF9yIHh7knxDDVCPAckbY8cGXhIT37 9nfVwQMtA9tWnpbNiQ83VIf5VMN33W1o0PSnLzrmoGUCKqWgm9oKxbRLnbX5WlFs Wenjxu0dYHArEeg/k7SsikKOdTE1CR5VddkCKsBQ8oiOqJHnnhQFmHhWic1C29LF pU2OB+SzHVE= =IlyP -----END PGP SIGNATURE----- Merge tag 'omap-for-v5.9/dt-pt2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/dt More dts changes for omaps for v5.9 A series of changes to configure IPU and DSP remoteproc for omap4 & 5. And a change to configure the default mux for am335x-pocketbeagle, and a change to use https for external links. * tag 'omap-for-v5.9/dt-pt2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: Replace HTTP links with HTTPS ones: OMAP DEVICE TREE SUPPORT ARM: dts: omap5-uevm: Add watchdog timers for IPU and DSP ARM: dts: omap4-panda-common: Add watchdog timers for IPU and DSP ARM: dts: omap5-uevm: Add system timers to DSP and IPU ARM: dts: omap5-uevm: Add CMA pools and enable IPU & DSP ARM: dts: omap5: Add aliases for rproc nodes ARM: dts: omap5: Add DSP and IPU nodes ARM: dts: omap4-panda-common:: Add system timers to DSP and IPU ARM: dts: omap4-panda-common: Add CMA pools and enable IPU & DSP ARM: dts: omap4: Add aliases for rproc nodes ARM: dts: omap4: Add IPU DT node ARM: dts: omap4: Update the DSP node ARM: dts: omap5: Add timer_sys_ck clocks for timers ARM: dts: omap4: Add timer_sys_ck clocks for timers ARM: dts: am335x-pocketbeagle: set default mux for gpio pins Link: https://lore.kernel.org/r/pull-1594838111-649880@atomide.com-3 Signed-off-by: Arnd Bergmann <arnd@arndb.de>
227 lines
5.2 KiB
Plaintext
227 lines
5.2 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/
|
|
*
|
|
* Based on "omap4.dtsi"
|
|
*/
|
|
|
|
#include "dra7.dtsi"
|
|
|
|
/ {
|
|
compatible = "ti,dra742", "ti,dra74", "ti,dra7";
|
|
|
|
cpus {
|
|
cpu@1 {
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a15";
|
|
reg = <1>;
|
|
operating-points-v2 = <&cpu0_opp_table>;
|
|
|
|
clocks = <&dpll_mpu_ck>;
|
|
clock-names = "cpu";
|
|
|
|
clock-latency = <300000>; /* From omap-cpufreq driver */
|
|
|
|
/* cooling options */
|
|
#cooling-cells = <2>; /* min followed by max */
|
|
|
|
vbb-supply = <&abb_mpu>;
|
|
};
|
|
};
|
|
|
|
aliases {
|
|
rproc0 = &ipu1;
|
|
rproc1 = &ipu2;
|
|
rproc2 = &dsp1;
|
|
rproc3 = &dsp2;
|
|
};
|
|
|
|
pmu {
|
|
compatible = "arm,cortex-a15-pmu";
|
|
interrupt-parent = <&wakeupgen>;
|
|
interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
|
|
};
|
|
|
|
ocp {
|
|
dsp2_system: dsp_system@41500000 {
|
|
compatible = "syscon";
|
|
reg = <0x41500000 0x100>;
|
|
};
|
|
|
|
target-module@48940000 {
|
|
compatible = "ti,sysc-omap4", "ti,sysc";
|
|
reg = <0x48940000 0x4>,
|
|
<0x48940010 0x4>;
|
|
reg-names = "rev", "sysc";
|
|
ti,sysc-mask = <SYSC_OMAP4_DMADISABLE>;
|
|
ti,sysc-midle = <SYSC_IDLE_FORCE>,
|
|
<SYSC_IDLE_NO>,
|
|
<SYSC_IDLE_SMART>,
|
|
<SYSC_IDLE_SMART_WKUP>;
|
|
ti,sysc-sidle = <SYSC_IDLE_FORCE>,
|
|
<SYSC_IDLE_NO>,
|
|
<SYSC_IDLE_SMART>,
|
|
<SYSC_IDLE_SMART_WKUP>;
|
|
clocks = <&l3init_clkctrl DRA7_L3INIT_USB_OTG_SS4_CLKCTRL 0>;
|
|
clock-names = "fck";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges = <0x0 0x48940000 0x20000>;
|
|
|
|
omap_dwc3_4: omap_dwc3_4@0 {
|
|
compatible = "ti,dwc3";
|
|
reg = <0 0x10000>;
|
|
interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
utmi-mode = <2>;
|
|
ranges;
|
|
status = "disabled";
|
|
usb4: usb@10000 {
|
|
compatible = "snps,dwc3";
|
|
reg = <0x10000 0x17000>;
|
|
interrupts = <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>,
|
|
<GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupt-names = "peripheral",
|
|
"host",
|
|
"otg";
|
|
maximum-speed = "high-speed";
|
|
dr_mode = "otg";
|
|
};
|
|
};
|
|
};
|
|
|
|
target-module@41501000 {
|
|
compatible = "ti,sysc-omap2", "ti,sysc";
|
|
reg = <0x41501000 0x4>,
|
|
<0x41501010 0x4>,
|
|
<0x41501014 0x4>;
|
|
reg-names = "rev", "sysc", "syss";
|
|
ti,sysc-sidle = <SYSC_IDLE_FORCE>,
|
|
<SYSC_IDLE_NO>,
|
|
<SYSC_IDLE_SMART>;
|
|
ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
|
|
SYSC_OMAP2_SOFTRESET |
|
|
SYSC_OMAP2_AUTOIDLE)>;
|
|
clocks = <&dsp2_clkctrl DRA7_DSP2_MMU0_DSP2_CLKCTRL 0>;
|
|
clock-names = "fck";
|
|
resets = <&prm_dsp2 1>;
|
|
reset-names = "rstctrl";
|
|
ranges = <0x0 0x41501000 0x1000>;
|
|
#size-cells = <1>;
|
|
#address-cells = <1>;
|
|
|
|
mmu0_dsp2: mmu@0 {
|
|
compatible = "ti,dra7-dsp-iommu";
|
|
reg = <0x0 0x100>;
|
|
interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
|
|
#iommu-cells = <0>;
|
|
ti,syscon-mmuconfig = <&dsp2_system 0x0>;
|
|
};
|
|
};
|
|
|
|
target-module@41502000 {
|
|
compatible = "ti,sysc-omap2", "ti,sysc";
|
|
reg = <0x41502000 0x4>,
|
|
<0x41502010 0x4>,
|
|
<0x41502014 0x4>;
|
|
reg-names = "rev", "sysc", "syss";
|
|
ti,sysc-sidle = <SYSC_IDLE_FORCE>,
|
|
<SYSC_IDLE_NO>,
|
|
<SYSC_IDLE_SMART>;
|
|
ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY |
|
|
SYSC_OMAP2_SOFTRESET |
|
|
SYSC_OMAP2_AUTOIDLE)>;
|
|
|
|
clocks = <&dsp2_clkctrl DRA7_DSP2_MMU0_DSP2_CLKCTRL 0>;
|
|
clock-names = "fck";
|
|
resets = <&prm_dsp2 1>;
|
|
reset-names = "rstctrl";
|
|
ranges = <0x0 0x41502000 0x1000>;
|
|
#size-cells = <1>;
|
|
#address-cells = <1>;
|
|
|
|
mmu1_dsp2: mmu@0 {
|
|
compatible = "ti,dra7-dsp-iommu";
|
|
reg = <0x0 0x100>;
|
|
interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
|
|
#iommu-cells = <0>;
|
|
ti,syscon-mmuconfig = <&dsp2_system 0x1>;
|
|
};
|
|
};
|
|
|
|
dsp2: dsp@41000000 {
|
|
compatible = "ti,dra7-dsp";
|
|
reg = <0x41000000 0x48000>,
|
|
<0x41600000 0x8000>,
|
|
<0x41700000 0x8000>;
|
|
reg-names = "l2ram", "l1pram", "l1dram";
|
|
ti,bootreg = <&scm_conf 0x560 10>;
|
|
iommus = <&mmu0_dsp2>, <&mmu1_dsp2>;
|
|
status = "disabled";
|
|
resets = <&prm_dsp2 0>;
|
|
clocks = <&dsp2_clkctrl DRA7_DSP2_MMU0_DSP2_CLKCTRL 0>;
|
|
firmware-name = "dra7-dsp2-fw.xe66";
|
|
};
|
|
};
|
|
};
|
|
|
|
&cpu0_opp_table {
|
|
opp-shared;
|
|
};
|
|
|
|
&dss {
|
|
reg = <0 0x80>,
|
|
<0x4054 0x4>,
|
|
<0x4300 0x20>,
|
|
<0x9054 0x4>,
|
|
<0x9300 0x20>;
|
|
reg-names = "dss", "pll1_clkctrl", "pll1",
|
|
"pll2_clkctrl", "pll2";
|
|
|
|
clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 8>,
|
|
<&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 12>,
|
|
<&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 13>;
|
|
clock-names = "fck", "video1_clk", "video2_clk";
|
|
};
|
|
|
|
&mailbox5 {
|
|
mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {
|
|
ti,mbox-tx = <6 2 2>;
|
|
ti,mbox-rx = <4 2 2>;
|
|
status = "disabled";
|
|
};
|
|
mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {
|
|
ti,mbox-tx = <5 2 2>;
|
|
ti,mbox-rx = <1 2 2>;
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
&mailbox6 {
|
|
mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {
|
|
ti,mbox-tx = <6 2 2>;
|
|
ti,mbox-rx = <4 2 2>;
|
|
status = "disabled";
|
|
};
|
|
mbox_dsp2_ipc3x: mbox_dsp2_ipc3x {
|
|
ti,mbox-tx = <5 2 2>;
|
|
ti,mbox-rx = <1 2 2>;
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
&pcie1_rc {
|
|
compatible = "ti,dra746-pcie-rc", "ti,dra7-pcie";
|
|
};
|
|
|
|
&pcie1_ep {
|
|
compatible = "ti,dra746-pcie-ep", "ti,dra7-pcie-ep";
|
|
};
|
|
|
|
&pcie2_rc {
|
|
compatible = "ti,dra746-pcie-rc", "ti,dra7-pcie";
|
|
};
|