Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'amlogic-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into next/dt

Amlogic 32-bit DT updates for v4.21
- support more timers on meson8
- add the stdout-path property on several boards

* tag 'amlogic-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic:
ARM: dts: meson: add the clock inputs for the Meson timer
ARM: dts: meson: add the TIMER B/C/D interrupts
ARM: dts: meson: consistently disable pin bias
ARM: dts: meson8b: mxq: add the /chosen/stdout-path property
ARM: dts: meson8: minix-neo-x8: add the /chosen/stdout-path property
ARM: dts: meson6: atv1200: add the /chosen/stdout-path property
dt-bindings: timer: meson6_timer: document the clock inputs
dt-bindings: timer: meson6_timer: document all interrupts

Signed-off-by: Olof Johansson <olof@lixom.net>

+63 -4
+9 -2
Documentation/devicetree/bindings/timer/amlogic,meson6-timer.txt
··· 4 4 5 5 - compatible : should be "amlogic,meson6-timer" 6 6 - reg : Specifies base physical address and size of the registers. 7 - - interrupts : The interrupt of the first timer 7 + - interrupts : The four interrupts, one for each timer event 8 + - clocks : phandles to the pclk (system clock) and XTAL clocks 9 + - clock-names : must contain "pclk" and "xtal" 8 10 9 11 Example: 10 12 11 13 timer@c1109940 { 12 14 compatible = "amlogic,meson6-timer"; 13 15 reg = <0xc1109940 0x14>; 14 - interrupts = <0 10 1>; 16 + interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>, 17 + <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>, 18 + <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>, 19 + <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>; 20 + clocks = <&xtal>, <&clk81>; 21 + clock-names = "xtal", "pclk"; 15 22 };
+5 -2
arch/arm/boot/dts/meson.dtsi
··· 197 197 interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>; 198 198 }; 199 199 200 - timer@9940 { 200 + timer_abcde: timer@9940 { 201 201 compatible = "amlogic,meson6-timer"; 202 202 reg = <0x9940 0x18>; 203 - interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>; 203 + interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>, 204 + <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>, 205 + <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>, 206 + <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>; 204 207 }; 205 208 }; 206 209
+4
arch/arm/boot/dts/meson6-atv1200.dts
··· 56 56 serial0 = &uart_AO; 57 57 }; 58 58 59 + chosen { 60 + stdout-path = "serial0:115200n8"; 61 + }; 62 + 59 63 memory { 60 64 reg = <0x40000000 0x80000000>; 61 65 };
+5
arch/arm/boot/dts/meson6.dtsi
··· 88 88 status = "disabled"; 89 89 }; 90 90 91 + &timer_abcde { 92 + clocks = <&xtal>, <&clk81>; 93 + clock-names = "xtal", "pclk"; 94 + }; 95 + 91 96 &uart_AO { 92 97 clocks = <&xtal>, <&clk81>, <&clk81>; 93 98 clock-names = "xtal", "pclk", "baud";
+4
arch/arm/boot/dts/meson8-minix-neo-x8.dts
··· 52 52 serial0 = &uart_AO; 53 53 }; 54 54 55 + chosen { 56 + stdout-path = "serial0:115200n8"; 57 + }; 58 + 55 59 memory { 56 60 reg = <0x40000000 0x80000000>; 57 61 };
+17
arch/arm/boot/dts/meson8.dtsi
··· 163 163 mux { 164 164 groups = "uart_tx_ao_a", "uart_rx_ao_a"; 165 165 function = "uart_ao"; 166 + bias-disable; 166 167 }; 167 168 }; 168 169 ··· 171 170 mux { 172 171 groups = "i2c_mst_sck_ao", "i2c_mst_sda_ao"; 173 172 function = "i2c_mst_ao"; 173 + bias-disable; 174 174 }; 175 175 }; 176 176 ··· 179 177 mux { 180 178 groups = "remote_input"; 181 179 function = "remote"; 180 + bias-disable; 182 181 }; 183 182 }; 184 183 ··· 187 184 mux { 188 185 groups = "pwm_f_ao"; 189 186 function = "pwm_f_ao"; 187 + bias-disable; 190 188 }; 191 189 }; 192 190 }; ··· 242 238 groups = "sd_d0_a", "sd_d1_a", "sd_d2_a", 243 239 "sd_d3_a", "sd_clk_a", "sd_cmd_a"; 244 240 function = "sd_a"; 241 + bias-disable; 245 242 }; 246 243 }; 247 244 ··· 251 246 groups = "sd_d0_b", "sd_d1_b", "sd_d2_b", 252 247 "sd_d3_b", "sd_clk_b", "sd_cmd_b"; 253 248 function = "sd_b"; 249 + bias-disable; 254 250 }; 255 251 }; 256 252 ··· 260 254 groups = "sd_d0_c", "sd_d1_c", "sd_d2_c", 261 255 "sd_d3_c", "sd_clk_c", "sd_cmd_c"; 262 256 function = "sd_c"; 257 + bias-disable; 263 258 }; 264 259 }; 265 260 ··· 268 261 mux { 269 262 groups = "nor_d", "nor_q", "nor_c", "nor_cs"; 270 263 function = "nor"; 264 + bias-disable; 271 265 }; 272 266 }; 273 267 ··· 280 272 "eth_rxd1", "eth_rxd0", "eth_mdio", 281 273 "eth_mdc"; 282 274 function = "ethernet"; 275 + bias-disable; 283 276 }; 284 277 }; 285 278 ··· 288 279 mux { 289 280 groups = "pwm_e"; 290 281 function = "pwm_e"; 282 + bias-disable; 291 283 }; 292 284 }; 293 285 ··· 297 287 groups = "uart_tx_a1", 298 288 "uart_rx_a1"; 299 289 function = "uart_a"; 290 + bias-disable; 300 291 }; 301 292 }; 302 293 ··· 306 295 groups = "uart_cts_a1", 307 296 "uart_rts_a1"; 308 297 function = "uart_a"; 298 + bias-disable; 309 299 }; 310 300 }; 311 301 }; ··· 385 373 386 374 &spifc { 387 375 clocks = <&clkc CLKID_CLK81>; 376 + }; 377 + 378 + &timer_abcde { 379 + clocks = <&clkc CLKID_XTAL>, <&clkc CLKID_CLK81>; 380 + clock-names = "xtal", "pclk"; 388 381 }; 389 382 390 383 &uart_AO {
+4
arch/arm/boot/dts/meson8b-mxq.dts
··· 55 55 serial0 = &uart_AO; 56 56 }; 57 57 58 + chosen { 59 + stdout-path = "serial0:115200n8"; 60 + }; 61 + 58 62 memory { 59 63 reg = <0x40000000 0x40000000>; 60 64 };
+14
arch/arm/boot/dts/meson8b.dtsi
··· 146 146 mux { 147 147 groups = "uart_tx_ao_a", "uart_rx_ao_a"; 148 148 function = "uart_ao"; 149 + bias-disable; 149 150 }; 150 151 }; 151 152 ··· 154 153 mux { 155 154 groups = "remote_input"; 156 155 function = "remote"; 156 + bias-disable; 157 157 }; 158 158 }; 159 159 }; ··· 222 220 "eth_txd2", 223 221 "eth_txd3"; 224 222 function = "ethernet"; 223 + bias-disable; 225 224 }; 226 225 }; 227 226 ··· 238 235 "eth_mdio_en", 239 236 "eth_mdc"; 240 237 function = "ethernet"; 238 + bias-disable; 241 239 }; 242 240 }; 243 241 ··· 246 242 mux { 247 243 groups = "i2c_sda_a", "i2c_sck_a"; 248 244 function = "i2c_a"; 245 + bias-disable; 249 246 }; 250 247 }; 251 248 ··· 255 250 groups = "sd_d0_b", "sd_d1_b", "sd_d2_b", 256 251 "sd_d3_b", "sd_clk_b", "sd_cmd_b"; 257 252 function = "sd_b"; 253 + bias-disable; 258 254 }; 259 255 }; 260 256 ··· 263 257 mux { 264 258 groups = "pwm_c1"; 265 259 function = "pwm_c"; 260 + bias-disable; 266 261 }; 267 262 }; 268 263 ··· 272 265 groups = "uart_tx_b0", 273 266 "uart_rx_b0"; 274 267 function = "uart_b"; 268 + bias-disable; 275 269 }; 276 270 }; 277 271 ··· 281 273 groups = "uart_cts_b0", 282 274 "uart_rts_b0"; 283 275 function = "uart_b"; 276 + bias-disable; 284 277 }; 285 278 }; 286 279 }; ··· 368 359 compatible = "amlogic,meson8b-sdio", "amlogic,meson-mx-sdio"; 369 360 clocks = <&clkc CLKID_SDIO>, <&clkc CLKID_CLK81>; 370 361 clock-names = "core", "clkin"; 362 + }; 363 + 364 + &timer_abcde { 365 + clocks = <&clkc CLKID_XTAL>, <&clkc CLKID_CLK81>; 366 + clock-names = "xtal", "pclk"; 371 367 }; 372 368 373 369 &uart_AO {
+1
arch/arm/boot/dts/meson8m2.dtsi
··· 45 45 "eth_rxd1", "eth_rxd0", 46 46 "eth_mdio", "eth_mdc"; 47 47 function = "ethernet"; 48 + bias-disable; 48 49 }; 49 50 }; 50 51 };