hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/dra76x.dtsi
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
2
- * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 as
6
- * published by the Free Software Foundation.
3
+ * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
74 */
85
96 #include "dra74x.dtsi"
....@@ -24,7 +21,7 @@
2421 ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET |
2522 SYSC_DRA7_MCAN_ENAWAKEUP)>;
2623 ti,syss-mask = <1>;
27
- clocks = <&wkupaon_clkctrl DRA7_ADC_CLKCTRL 0>;
24
+ clocks = <&wkupaon_clkctrl DRA7_WKUPAON_ADC_CLKCTRL 0>;
2825 clock-names = "fck";
2926
3027 m_can0: mcan@1a00 {
....@@ -42,6 +39,48 @@
4239 };
4340 };
4441
42
+};
43
+
44
+&l4_per3 {
45
+ target-module@1b0000 { /* 0x489b0000, ap 25 34.0 */
46
+ compatible = "ti,sysc-omap4", "ti,sysc";
47
+ reg = <0x1b0000 0x4>,
48
+ <0x1b0010 0x4>;
49
+ reg-names = "rev", "sysc";
50
+ ti,sysc-midle = <SYSC_IDLE_FORCE>,
51
+ <SYSC_IDLE_NO>;
52
+ ti,sysc-sidle = <SYSC_IDLE_FORCE>,
53
+ <SYSC_IDLE_NO>;
54
+ clocks = <&cam_clkctrl DRA7_CAM_VIP3_CLKCTRL 0>;
55
+ clock-names = "fck";
56
+ #address-cells = <1>;
57
+ #size-cells = <1>;
58
+ ranges = <0x0 0x1b0000 0x10000>;
59
+
60
+ cal: cal@0 {
61
+ compatible = "ti,dra76-cal";
62
+ reg = <0x0000 0x400>,
63
+ <0x0800 0x40>,
64
+ <0x0900 0x40>;
65
+ reg-names = "cal_top",
66
+ "cal_rx_core0",
67
+ "cal_rx_core1";
68
+ interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
69
+ ti,camerrx-control = <&scm_conf 0x6dc>;
70
+
71
+ ports {
72
+ #address-cells = <1>;
73
+ #size-cells = <0>;
74
+
75
+ csi2_0: port@0 {
76
+ reg = <0>;
77
+ };
78
+ csi2_1: port@1 {
79
+ reg = <1>;
80
+ };
81
+ };
82
+ };
83
+ };
4584 };
4685
4786 /* MCAN interrupts are hard-wired to irqs 67, 68 */
....@@ -82,6 +121,14 @@
82121 };
83122 };
84123
124
+&rtctarget {
125
+ status = "disabled";
126
+};
127
+
128
+&usb4_tm {
129
+ status = "disabled";
130
+};
131
+
85132 &mmc3 {
86133 /* dra76x is not affected by i887 */
87134 max-frequency = <96000000>;