1 The PDC driver manages data transfer to and fr 1 The PDC driver manages data transfer to and from various offload engines 2 on some Broadcom SoCs. An SoC may have multipl 2 on some Broadcom SoCs. An SoC may have multiple PDC hardware blocks. There is 3 one device tree entry per block. On some chip 3 one device tree entry per block. On some chips, the PDC functionality is 4 handled by the FA2 (Northstar Plus). 4 handled by the FA2 (Northstar Plus). 5 5 6 Required properties: 6 Required properties: 7 - compatible : Should be "brcm,iproc-pdc-mbox" 7 - compatible : Should be "brcm,iproc-pdc-mbox" or "brcm,iproc-fa2-mbox" for 8 FA2/Northstar Plus. 8 FA2/Northstar Plus. 9 - reg: Should contain PDC registers location a 9 - reg: Should contain PDC registers location and length. 10 - interrupts: Should contain the IRQ line for 10 - interrupts: Should contain the IRQ line for the PDC. 11 - #mbox-cells: 1 11 - #mbox-cells: 1 12 - brcm,rx-status-len: Length of metadata prece 12 - brcm,rx-status-len: Length of metadata preceding received frames, in bytes. 13 13 14 Optional properties: 14 Optional properties: 15 - brcm,use-bcm-hdr: present if a BCM header p 15 - brcm,use-bcm-hdr: present if a BCM header precedes each frame. 16 16 17 Example: 17 Example: 18 pdc0: iproc-pdc0@612c0000 { 18 pdc0: iproc-pdc0@612c0000 { 19 compatible = "brcm,iproc-pdc-m 19 compatible = "brcm,iproc-pdc-mbox"; 20 reg = <0 0x612c0000 0 0x445>; 20 reg = <0 0x612c0000 0 0x445>; /* PDC FS0 regs */ 21 interrupts = <GIC_SPI 187 IRQ_ 21 interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>; 22 #mbox-cells = <1>; /* one ce 22 #mbox-cells = <1>; /* one cell per mailbox channel */ 23 brcm,rx-status-len = <32>; 23 brcm,rx-status-len = <32>; 24 brcm,use-bcm-hdr; 24 brcm,use-bcm-hdr; 25 }; 25 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.