1 Marvell Armada AP806 System Controller
2 ======================================
4 The AP806 is one of the two core HW blocks of the Marvell Armada 7K/8K
5 SoCs. It contains system controllers, which provide several registers
6 giving access to numerous features: clocks, pin-muxing and many other
7 SoC configuration items. This DT binding allows to describe these
10 For the top level node:
11 - compatible: must be: "syscon", "simple-mfd";
12 - reg: register area of the AP806 system controller
21 The Device Tree node representing the AP806 system controller provides
24 - 0: reference clock of CPU cluster 0
25 - 1: reference clock of CPU cluster 1
26 - 2: fixed PLL at 1200 Mhz
27 - 3: MSS clock, derived from the fixed PLL
31 - compatible: must be: "marvell,ap806-clock"
32 - #clock-cells: must be set to 1
37 For common binding part and usage, refer to
38 Documentation/devicetree/bindings/pinctrl/marvell,mvebu-pinctrl.txt.
41 - compatible must be "marvell,ap806-pinctrl",
43 Available mpp pins/groups and functions:
44 Note: brackets (x) are not part of the mpp name for marvell,function and given
45 only for more detailed description in this document.
48 ================================================================================
49 mpp0 0 gpio, sdio(clk), spi0(clk)
50 mpp1 1 gpio, sdio(cmd), spi0(miso)
51 mpp2 2 gpio, sdio(d0), spi0(mosi)
52 mpp3 3 gpio, sdio(d1), spi0(cs0n)
53 mpp4 4 gpio, sdio(d2), i2c0(sda)
54 mpp5 5 gpio, sdio(d3), i2c0(sdk)
56 mpp7 7 gpio, sdio(d4), uart1(rxd)
57 mpp8 8 gpio, sdio(d5), uart1(txd)
58 mpp9 9 gpio, sdio(d6), spi0(cs1n)
59 mpp10 10 gpio, sdio(d7)
60 mpp11 11 gpio, uart0(txd)
61 mpp12 12 gpio, sdio(pw_off), sdio(hw_rst)
68 mpp19 19 gpio, uart0(rxd), sdio(pw_off)
72 For common binding part and usage, refer to
73 Documentation/devicetree/bindings/gpio/gpio-mvebu.txt.
77 - compatible: "marvell,armada-8k-gpio"
79 - offset: offset address inside the syscon block
82 ap_syscon: system-controller@6f4000 {
83 compatible = "syscon", "simple-mfd";
84 reg = <0x6f4000 0x1000>;
87 compatible = "marvell,ap806-clock";
92 compatible = "marvell,ap806-pinctrl";
96 compatible = "marvell,armada-8k-gpio";
101 gpio-ranges = <&ap_pinctrl 0 0 19>;
111 For common binding part and usage, refer to
112 Documentation/devicetree/bindings/thermal/thermal.txt
114 The thermal IP can probe the temperature all around the processor. It
115 may feature several channels, each of them wired to one sensor.
117 It is possible to setup an overheat interrupt by giving at least one
118 critical point to any subnode of the thermal-zone node.
121 - compatible: must be one of:
122 * marvell,armada-ap806-thermal
123 - reg: register range associated with the thermal functions.
126 - interrupts: overheat interrupt handle. Should point to line 18 of the
127 SEI irqchip. See interrupt-controller/interrupts.txt
128 - #thermal-sensor-cells: shall be <1> when thermal-zones subnodes refer
129 to this IP and represents the channel ID. There is one sensor per
130 channel. O refers to the thermal IP internal channel, while positive
131 IDs refer to each CPU.
134 ap_syscon1: system-controller@6f8000 {
135 compatible = "syscon", "simple-mfd";
136 reg = <0x6f8000 0x1000>;
138 ap_thermal: thermal-sensor@80 {
139 compatible = "marvell,armada-ap806-thermal";
141 interrupt-parent = <&sei>;
143 #thermal-sensor-cells = <1>;
150 Device Tree Clock bindings for cluster clock of Marvell
151 AP806/AP807. Each cluster contain up to 2 CPUs running at the same
155 - compatible: must be one of:
156 * "marvell,ap806-cpu-clock"
157 * "marvell,ap807-cpu-clock"
158 - #clock-cells : should be set to 1.
160 - clocks : shall be the input parent clock(s) phandle for the clock
163 - reg: register range associated with the cluster clocks
165 ap_syscon1: system-controller@6f8000 {
166 compatible = "marvell,armada-ap806-syscon1", "syscon", "simple-mfd";
167 reg = <0x6f8000 0x1000>;
169 cpu_clk: clock-cpu@278 {
170 compatible = "marvell,ap806-cpu-clock";
171 clocks = <&ap_clk 0>, <&ap_clk 1>;