.. | .. |
---|
44 | 44 | |
---|
45 | 45 | cpu4: cpu@100 { |
---|
46 | 46 | device_type = "cpu"; |
---|
47 | | - compatible = "arm,cortex-a53", "arm,armv8"; |
---|
| 47 | + compatible = "arm,cortex-a53"; |
---|
48 | 48 | reg = <0x0 0x100>; |
---|
49 | 49 | enable-method = "psci"; |
---|
50 | 50 | next-level-cache = <&l2>; |
---|
51 | 51 | clocks = <&scpi_dvfs 1>; |
---|
| 52 | + #cooling-cells = <2>; |
---|
52 | 53 | }; |
---|
53 | 54 | |
---|
54 | 55 | cpu5: cpu@101 { |
---|
55 | 56 | device_type = "cpu"; |
---|
56 | | - compatible = "arm,cortex-a53", "arm,armv8"; |
---|
| 57 | + compatible = "arm,cortex-a53"; |
---|
57 | 58 | reg = <0x0 0x101>; |
---|
58 | 59 | enable-method = "psci"; |
---|
59 | 60 | next-level-cache = <&l2>; |
---|
60 | 61 | clocks = <&scpi_dvfs 1>; |
---|
| 62 | + #cooling-cells = <2>; |
---|
61 | 63 | }; |
---|
62 | 64 | |
---|
63 | 65 | cpu6: cpu@102 { |
---|
64 | 66 | device_type = "cpu"; |
---|
65 | | - compatible = "arm,cortex-a53", "arm,armv8"; |
---|
| 67 | + compatible = "arm,cortex-a53"; |
---|
66 | 68 | reg = <0x0 0x102>; |
---|
67 | 69 | enable-method = "psci"; |
---|
68 | 70 | next-level-cache = <&l2>; |
---|
69 | 71 | clocks = <&scpi_dvfs 1>; |
---|
| 72 | + #cooling-cells = <2>; |
---|
70 | 73 | }; |
---|
71 | 74 | |
---|
72 | 75 | cpu7: cpu@103 { |
---|
73 | 76 | device_type = "cpu"; |
---|
74 | | - compatible = "arm,cortex-a53", "arm,armv8"; |
---|
| 77 | + compatible = "arm,cortex-a53"; |
---|
75 | 78 | reg = <0x0 0x103>; |
---|
76 | 79 | enable-method = "psci"; |
---|
77 | 80 | next-level-cache = <&l2>; |
---|
78 | 81 | clocks = <&scpi_dvfs 1>; |
---|
| 82 | + #cooling-cells = <2>; |
---|
| 83 | + }; |
---|
| 84 | + }; |
---|
| 85 | + |
---|
| 86 | + gpu_opp_table: opp-table { |
---|
| 87 | + compatible = "operating-points-v2"; |
---|
| 88 | + |
---|
| 89 | + opp-125000000 { |
---|
| 90 | + opp-hz = /bits/ 64 <125000000>; |
---|
| 91 | + opp-microvolt = <950000>; |
---|
| 92 | + }; |
---|
| 93 | + opp-250000000 { |
---|
| 94 | + opp-hz = /bits/ 64 <250000000>; |
---|
| 95 | + opp-microvolt = <950000>; |
---|
| 96 | + }; |
---|
| 97 | + opp-285714285 { |
---|
| 98 | + opp-hz = /bits/ 64 <285714285>; |
---|
| 99 | + opp-microvolt = <950000>; |
---|
| 100 | + }; |
---|
| 101 | + opp-400000000 { |
---|
| 102 | + opp-hz = /bits/ 64 <400000000>; |
---|
| 103 | + opp-microvolt = <950000>; |
---|
| 104 | + }; |
---|
| 105 | + opp-500000000 { |
---|
| 106 | + opp-hz = /bits/ 64 <500000000>; |
---|
| 107 | + opp-microvolt = <950000>; |
---|
| 108 | + }; |
---|
| 109 | + opp-666666666 { |
---|
| 110 | + opp-hz = /bits/ 64 <666666666>; |
---|
| 111 | + opp-microvolt = <950000>; |
---|
79 | 112 | }; |
---|
80 | 113 | }; |
---|
81 | 114 | }; |
---|
.. | .. |
---|
91 | 124 | reset-names = "phy"; |
---|
92 | 125 | status = "okay"; |
---|
93 | 126 | }; |
---|
| 127 | + |
---|
| 128 | + mali: gpu@c0000 { |
---|
| 129 | + compatible = "amlogic,meson-gxm-mali", "arm,mali-t820"; |
---|
| 130 | + reg = <0x0 0xc0000 0x0 0x40000>; |
---|
| 131 | + interrupt-parent = <&gic>; |
---|
| 132 | + interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, |
---|
| 133 | + <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, |
---|
| 134 | + <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>; |
---|
| 135 | + interrupt-names = "job", "mmu", "gpu"; |
---|
| 136 | + clocks = <&clkc CLKID_MALI>; |
---|
| 137 | + resets = <&reset RESET_MALI_CAPB3>, <&reset RESET_MALI>; |
---|
| 138 | + operating-points-v2 = <&gpu_opp_table>; |
---|
| 139 | + }; |
---|
94 | 140 | }; |
---|
95 | 141 | |
---|
96 | 142 | &clkc_AO { |
---|
97 | 143 | compatible = "amlogic,meson-gxm-aoclkc", "amlogic,meson-gx-aoclkc"; |
---|
| 144 | +}; |
---|
| 145 | + |
---|
| 146 | +&cpu_cooling_maps { |
---|
| 147 | + map0 { |
---|
| 148 | + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
---|
| 149 | + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
---|
| 150 | + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
---|
| 151 | + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
---|
| 152 | + <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
---|
| 153 | + <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
---|
| 154 | + <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
---|
| 155 | + <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
---|
| 156 | + }; |
---|
| 157 | + |
---|
| 158 | + map1 { |
---|
| 159 | + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
---|
| 160 | + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
---|
| 161 | + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
---|
| 162 | + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
---|
| 163 | + <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
---|
| 164 | + <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
---|
| 165 | + <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
---|
| 166 | + <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
---|
| 167 | + }; |
---|
98 | 168 | }; |
---|
99 | 169 | |
---|
100 | 170 | &saradc { |
---|
.. | .. |
---|
114 | 184 | compatible = "amlogic,meson-gxm-dw-hdmi", "amlogic,meson-gx-dw-hdmi"; |
---|
115 | 185 | }; |
---|
116 | 186 | |
---|
117 | | -&dwc3 { |
---|
118 | | - phys = <&usb3_phy>, <&usb2_phy0>, <&usb2_phy1>, <&usb2_phy2>; |
---|
| 187 | +&usb { |
---|
| 188 | + compatible = "amlogic,meson-gxm-usb-ctrl"; |
---|
| 189 | + |
---|
| 190 | + phy-names = "usb2-phy0", "usb2-phy1", "usb2-phy2"; |
---|
| 191 | + phys = <&usb2_phy0>, <&usb2_phy1>, <&usb2_phy2>; |
---|
| 192 | +}; |
---|
| 193 | + |
---|
| 194 | +&vdec { |
---|
| 195 | + compatible = "amlogic,gxm-vdec", "amlogic,gx-vdec"; |
---|
119 | 196 | }; |
---|