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

dt-bindings: soc: ti: Update TI PRUSS bindings about schemas to include

Now after ti,pruss-intc.yaml and ti,pru-rproc.yaml are merged, include
them in proper property and extend the examples section.

At the occasion extend the allowed property list about dma-ranges.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Grzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>

authored by

Grzegorz Jaszczyk and committed by
Santosh Shilimkar
822be879 f97a8a34

+76
+76
Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
··· 81 81 ranges: 82 82 maxItems: 1 83 83 84 + dma-ranges: 85 + maxItems: 1 86 + 84 87 power-domains: 85 88 description: | 86 89 This property is as per sci-pm-domain.txt. ··· 281 278 that is common to all the PRU cores. This should be represented as an 282 279 interrupt-controller node. 283 280 281 + allOf: 282 + - $ref: /schemas/interrupt-controller/ti,pruss-intc.yaml# 283 + 284 284 type: object 285 285 286 286 mdio@[a-f0-9]+$: ··· 304 298 inactive by using the standard DT string property, "status". The ICSSG IP 305 299 present on K3 SoCs have additional auxiliary PRU cores with slightly 306 300 different IP integration. 301 + 302 + allOf: 303 + - $ref: /schemas/remoteproc/ti,pru-rproc.yaml# 307 304 308 305 type: object 309 306 ··· 380 371 reg = <0x32000 0x58>; 381 372 }; 382 373 374 + pruss_intc: interrupt-controller@20000 { 375 + compatible = "ti,pruss-intc"; 376 + reg = <0x20000 0x2000>; 377 + interrupt-controller; 378 + #interrupt-cells = <3>; 379 + interrupts = <20 21 22 23 24 25 26 27>; 380 + interrupt-names = "host_intr0", "host_intr1", 381 + "host_intr2", "host_intr3", 382 + "host_intr4", "host_intr5", 383 + "host_intr6", "host_intr7"; 384 + }; 385 + 386 + pru0: pru@34000 { 387 + compatible = "ti,am3356-pru"; 388 + reg = <0x34000 0x2000>, 389 + <0x22000 0x400>, 390 + <0x22400 0x100>; 391 + reg-names = "iram", "control", "debug"; 392 + firmware-name = "am335x-pru0-fw"; 393 + }; 394 + 395 + pru1: pru@38000 { 396 + compatible = "ti,am3356-pru"; 397 + reg = <0x38000 0x2000>, 398 + <0x24000 0x400>, 399 + <0x24400 0x100>; 400 + reg-names = "iram", "control", "debug"; 401 + firmware-name = "am335x-pru1-fw"; 402 + }; 403 + 383 404 pruss_mdio: mdio@32400 { 384 405 compatible = "ti,davinci_mdio"; 385 406 reg = <0x32400 0x90>; ··· 462 423 pruss1_mii_rt: mii-rt@32000 { 463 424 compatible = "ti,pruss-mii", "syscon"; 464 425 reg = <0x32000 0x58>; 426 + }; 427 + 428 + pruss1_intc: interrupt-controller@20000 { 429 + compatible = "ti,pruss-intc"; 430 + reg = <0x20000 0x2000>; 431 + interrupt-controller; 432 + #interrupt-cells = <3>; 433 + interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>, 434 + <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>, 435 + <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>, 436 + <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>, 437 + <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>, 438 + <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>, 439 + <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>; 440 + interrupt-names = "host_intr0", "host_intr1", 441 + "host_intr2", "host_intr3", 442 + "host_intr4", 443 + "host_intr6", "host_intr7"; 444 + ti,irqs-reserved = /bits/ 8 <0x20>; /* BIT(5) */ 445 + }; 446 + 447 + pru1_0: pru@34000 { 448 + compatible = "ti,am4376-pru"; 449 + reg = <0x34000 0x3000>, 450 + <0x22000 0x400>, 451 + <0x22400 0x100>; 452 + reg-names = "iram", "control", "debug"; 453 + firmware-name = "am437x-pru1_0-fw"; 454 + }; 455 + 456 + pru1_1: pru@38000 { 457 + compatible = "ti,am4376-pru"; 458 + reg = <0x38000 0x3000>, 459 + <0x24000 0x400>, 460 + <0x24400 0x100>; 461 + reg-names = "iram", "control", "debug"; 462 + firmware-name = "am437x-pru1_1-fw"; 465 463 }; 466 464 467 465 pruss1_mdio: mdio@32400 {