1 Freescale Peripheral Management Access Unit (P 2 3 DESCRIPTION 4 5 The PAMU is an I/O MMU that provides device-to 6 address translation capabilities. 7 8 Required properties: 9 10 - compatible : <string> 11 First entry is a version-spe 12 "fsl,pamu-v1.0". The second 13 - ranges : <prop-encoded-array> 14 A standard property. Utilize 15 I/O space utilized by the co 16 be set to the total size of 17 physically present PAMU cont 18 PAMU v1.0, on an SOC that ha 19 is 0x5000. 20 - interrupts : <prop-encoded-array> 21 Interrupt mappings. The fir 22 interrupt, used for reportin 23 is for PAMU hardware errors, 24 and ECC errors. 25 - #address-cells: <u32> 26 A standard property. 27 - #size-cells : <u32> 28 A standard property. 29 30 Optional properties: 31 - reg : <prop-encoded-array> 32 A standard property. It re 33 all child PAMUs combined. I 34 for legacy drivers. 35 - fsl,portid-mapping : <u32> 36 The Coherency Subdomain ID P 37 Snoop ID Port Mapping regist 38 CoreNet Coherency fabric (CC 39 Coherency Subdomain ID/CoreN 40 functions. Certain bits fro 41 set if PAMUs should be snoop 42 a bitmask which selects the 43 PAMUs should be snooped. 44 45 Child nodes: 46 47 Each child node represents one PAMU controller 48 connected to a specific PAMU device should hav 49 that links to the corresponding specific child 50 51 - reg : <prop-encoded-array> 52 A standard property. Specif 53 length (relative to the pare 54 PAMU controller's configurat 55 be set to the size of this P 56 For PAMU v1.0, this size is 57 - fsl,primary-cache-geometry 58 : <prop-encoded-array> 59 Two cells that specify the g 60 cache. The first is the num 61 second is the number of "way 62 specify a value of 1. 63 - fsl,secondary-cache-geometry 64 : <prop-encoded-array> 65 Two cells that specify the g 66 cache. The first is the num 67 second is the number of "way 68 specify a value of 1. 69 70 Device nodes: 71 72 Devices that have LIODNs need to specify links 73 (the actual PAMU controller that this device i 74 the LIODN register, if applicable. 75 76 - fsl,iommu-parent 77 : <phandle> 78 Phandle to the single, specifi 79 this device is connect. The P 80 the device tree to assist code 81 best LIODN values to minimize 82 83 - fsl,liodn-reg : <prop-encoded-array> 84 Two cells that specify the l 85 for this device. Required f 86 LIODN. The first cell is a 87 the registers where the LIOD 88 the offset from the first "r 89 the specific LIODN register 90 91 92 Example: 93 94 iommu@20000 { 95 compatible = "fsl,pamu-v1.0", 96 reg = <0x20000 0x5000>; 97 ranges = <0 0x20000 0x5000>; 98 fsl,portid-mapping = <0xf80000 99 #address-cells = <1>; 100 #size-cells = <1>; 101 interrupts = < 102 24 2 0 0 103 16 2 1 30>; 104 105 pamu0: pamu@0 { 106 reg = <0 0x1000>; 107 fsl,primary-cache-geom 108 fsl,secondary-cache-ge 109 }; 110 111 pamu1: pamu@1000 { 112 reg = <0x1000 0x1000>; 113 fsl,primary-cache-geom 114 fsl,secondary-cache-ge 115 }; 116 117 pamu2: pamu@2000 { 118 reg = <0x2000 0x1000>; 119 fsl,primary-cache-geom 120 fsl,secondary-cache-ge 121 }; 122 123 pamu3: pamu@3000 { 124 reg = <0x3000 0x1000>; 125 fsl,primary-cache-geom 126 fsl,secondary-cache-ge 127 }; 128 129 pamu4: pamu@4000 { 130 reg = <0x4000 0x1000>; 131 fsl,primary-cache-geom 132 fsl,secondary-cache-ge 133 }; 134 }; 135 136 guts: global-utilities@e0000 { 137 compatible = "fsl,qoriq-device 138 reg = <0xe0000 0xe00>; 139 fsl,has-rstcr; 140 #sleep-cells = <1>; 141 fsl,liodn-bits = <12>; 142 }; 143 144 /include/ "qoriq-dma-0.dtsi" 145 dma@100300 { 146 fsl,iommu-parent = <&pamu0>; 147 fsl,liodn-reg = <&guts 0x584>; 148 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.