1 Marvell Armada CP110 System Controller 2 ====================================== 3 4 The CP110 is one of the two core HW blocks of 5 SoCs. It contains system controllers, which pr 6 giving access to numerous features: clocks, pi 7 SoC configuration items. This DT binding allow 8 system controllers. 9 10 For the top level node: 11 - compatible: must be: "syscon", "simple-mfd" 12 - reg: register area of the CP110 system cont 13 14 SYSTEM CONTROLLER 0 15 =================== 16 17 Clocks: 18 ------- 19 20 The Device Tree node representing this System 21 number of clocks: 22 23 - a set of core clocks 24 - a set of gateable clocks 25 26 Those clocks can be referenced by other Device 27 cells: 28 - The first cell must be 0 or 1. 0 for the co 29 gateable clocks. 30 - The second cell identifies the particular c 31 clocks. 32 33 The following clocks are available: 34 - Core clocks 35 - 0 0 APLL 36 - 0 1 PPv2 core 37 - 0 2 EIP 38 - 0 3 Core 39 - 0 4 NAND core 40 - 0 5 SDIO core 41 - Gateable clocks 42 - 1 0 Audio 43 - 1 1 Comm Unit 44 - 1 2 NAND 45 - 1 3 PPv2 46 - 1 4 SDIO 47 - 1 5 MG Domain 48 - 1 6 MG Core 49 - 1 7 XOR1 50 - 1 8 XOR0 51 - 1 9 GOP DP 52 - 1 11 PCIe x1 0 53 - 1 12 PCIe x1 1 54 - 1 13 PCIe x4 55 - 1 14 PCIe / XOR 56 - 1 15 SATA 57 - 1 16 SATA USB 58 - 1 17 Main 59 - 1 18 SD/MMC/GOP 60 - 1 21 Slow IO (SPI, NOR, BootROM, I2 61 - 1 22 USB3H0 62 - 1 23 USB3H1 63 - 1 24 USB3 Device 64 - 1 25 EIP150 65 - 1 26 EIP197 66 67 Required properties: 68 69 - compatible: must be: 70 "marvell,cp110-clock" 71 - #clock-cells: must be set to 2 72 73 Pinctrl: 74 -------- 75 76 For common binding part and usage, refer to th 77 Documentation/devicetree/bindings/pinctrl/marv 78 79 Required properties: 80 81 - compatible: "marvell,armada-7k-pinctrl", "ma 82 "marvell,armada-8k-cps-pinctrl" or "marvell, 83 depending on the specific variant of the SoC 84 85 Available mpp pins/groups and functions: 86 Note: brackets (x) are not part of the mpp nam 87 only for more detailed description in this doc 88 89 name pins functions 90 ============================================== 91 mpp0 0 gpio, dev(ale1), au(i2smclk), 92 mpp1 1 gpio, dev(ale0), au(i2sdo_spdi 93 mpp2 2 gpio, dev(ad15), au(i2sextclk) 94 mpp3 3 gpio, dev(ad14), au(i2slrclk), 95 mpp4 4 gpio, dev(ad13), au(i2sbclk), 96 mpp5 5 gpio, dev(ad12), au(i2sdi), ge 97 mpp6 6 gpio, dev(ad11), ge0(txd3), sp 98 mpp7 7 gpio, dev(ad10), ge0(txd2), sp 99 mpp8 8 gpio, dev(ad9), ge0(txd1), spi 100 mpp9 9 gpio, dev(ad8), ge0(txd0), spi 101 mpp10 10 gpio, dev(readyn), ge0(txctl), 102 mpp11 11 gpio, dev(wen1), ge0(txclkout) 103 mpp12 12 gpio, dev(clk_out), nf(rbn1), 104 mpp13 13 gpio, dev(burstn), nf(rbn0), s 105 mpp14 14 gpio, dev(bootcsn), dev(csn0), 106 mpp15 15 gpio, dev(ad7), spi1(mosi), sp 107 mpp16 16 gpio, dev(ad6), spi1(clk), mss 108 mpp17 17 gpio, dev(ad5), ge0(txd3) 109 mpp18 18 gpio, dev(ad4), ge0(txd2), ptp 110 mpp19 19 gpio, dev(ad3), ge0(txd1), wak 111 mpp20 20 gpio, dev(ad2), ge0(txd0) 112 mpp21 21 gpio, dev(ad1), ge0(txctl), se 113 mpp22 22 gpio, dev(ad0), ge0(txclkout), 114 mpp23 23 gpio, dev(a1), au(i2smclk), li 115 mpp24 24 gpio, dev(a0), au(i2slrclk) 116 mpp25 25 gpio, dev(oen), au(i2sdo_spdif 117 mpp26 26 gpio, dev(wen0), au(i2sbclk) 118 mpp27 27 gpio, dev(csn0), spi1(miso), m 119 mpp28 28 gpio, dev(csn1), spi1(csn0), m 120 mpp29 29 gpio, dev(csn2), spi1(mosi), m 121 mpp30 30 gpio, dev(csn3), spi1(clk), ms 122 mpp31 31 gpio, dev(a2), mss_gpio4, pcie 123 mpp32 32 gpio, mii(col), mii(txerr), ms 124 mpp33 33 gpio, mii(txclk), sdio(pwr10), 125 mpp34 34 gpio, mii(rxerr), sdio(pwr11), 126 mpp35 35 gpio, sata1(present_act), i2c1 127 mpp36 36 gpio, synce2(clk), i2c1(sck), 128 mpp37 37 gpio, uart2(rxd), i2c0(sck), p 129 mpp38 38 gpio, uart2(txd), i2c0(sda), p 130 mpp39 39 gpio, sdio(wr_protect), au(i2s 131 mpp40 40 gpio, sdio(pwr11), synce1(clk) 132 mpp41 41 gpio, sdio(pwr10), sdio(bus_pw 133 mpp42 42 gpio, sdio(v18_en), sdio(wr_pr 134 mpp43 43 gpio, sdio(card_detect), synce 135 mpp44 44 gpio, ge1(txd2), uart0(rts), p 136 mpp45 45 gpio, ge1(txd3), uart0(txd), p 137 mpp46 46 gpio, ge1(txd1), uart1(rts) 138 mpp47 47 gpio, ge1(txd0), spi1(clk), ua 139 mpp48 48 gpio, ge1(txctl_txen), spi1(mo 140 mpp49 49 gpio, ge1(txclkout), mii(crs), 141 mpp50 50 gpio, ge1(rxclk), mss_i2c(sda) 142 mpp51 51 gpio, ge1(rxd0), mss_i2c(sck), 143 mpp52 52 gpio, ge1(rxd1), synce1(clk), 144 mpp53 53 gpio, ge1(rxd2), ptp(clk), spi 145 mpp54 54 gpio, ge1(rxd3), synce2(clk), 146 mpp55 55 gpio, ge1(rxctl_rxdv), ptp(pul 147 mpp56 56 gpio, tdm(drx), au(i2sdo_spdif 148 mpp57 57 gpio, mss_i2c(sda), ptp(pclk_o 149 mpp58 58 gpio, mss_i2c(sck), ptp(clk), 150 mpp59 59 gpio, mss_gpio7, synce2(clk), 151 mpp60 60 gpio, mss_gpio6, ptp(pulse), t 152 mpp61 61 gpio, mss_gpio5, ptp(clk), tdm 153 mpp62 62 gpio, mss_gpio4, synce1(clk), 154 155 GPIO: 156 ----- 157 158 For common binding part and usage, refer to 159 Documentation/devicetree/bindings/gpio/gpio-mv 160 161 Required properties: 162 163 - compatible: "marvell,armada-8k-gpio" 164 165 - offset: offset address inside the syscon blo 166 167 Example: 168 169 CP110_LABEL(syscon0): system-controller@440000 170 compatible = "syscon", "simple-mfd"; 171 reg = <0x440000 0x1000>; 172 173 CP110_LABEL(clk): clock { 174 compatible = "marvell,cp110-cl 175 #clock-cells = <2>; 176 }; 177 178 CP110_LABEL(pinctrl): pinctrl { 179 compatible = "marvell,armada-8 180 }; 181 182 CP110_LABEL(gpio1): gpio@100 { 183 compatible = "marvell,armada-8 184 offset = <0x100>; 185 ngpios = <32>; 186 gpio-controller; 187 #gpio-cells = <2>; 188 gpio-ranges = <&CP110_LABEL(pi 189 }; 190 191 }; 192 193 SYSTEM CONTROLLER 1 194 =================== 195 196 Thermal: 197 -------- 198 199 The thermal IP can probe the temperature all a 200 may feature several channels, each of them wir 201 202 It is possible to setup an overheat interrupt 203 critical point to any subnode of the thermal-z 204 205 For common binding part and usage, refer to 206 Documentation/devicetree/bindings/thermal/ther 207 208 Required properties: 209 - compatible: must be one of: 210 * marvell,armada-cp110-thermal 211 - reg: register range associated with the ther 212 213 Optional properties: 214 - interrupts-extended: overheat interrupt hand 215 a line of the ICU-SEI irqchip (116 is what i 216 firmware). The ICU-SEI will redirect towards 217 AP SEI which is shared across all CPs. 218 See interrupt-controller/interrupts.txt 219 - #thermal-sensor-cells: shall be <1> when the 220 to this IP and represents the channel ID. Th 221 channel. O refers to the thermal IP internal 222 223 Example: 224 CP110_LABEL(syscon1): system-controller@6f8000 225 compatible = "syscon", "simple-mfd"; 226 reg = <0x6f8000 0x1000>; 227 228 CP110_LABEL(thermal): thermal-sensor@7 229 compatible = "marvell,armada-c 230 reg = <0x70 0x10>; 231 interrupts-extended = <&CP110_ 232 #thermal-sensor-cells = <1>; 233 }; 234 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.