xref: /freebsd/sys/contrib/device-tree/Bindings/mips/img/pistachio.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotImagination Pistachio SoC
2*c66ec88fSEmmanuel Vadot=========================
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotRequired properties:
5*c66ec88fSEmmanuel Vadot--------------------
6*c66ec88fSEmmanuel Vadot - compatible: Must include "img,pistachio".
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotCPU nodes:
9*c66ec88fSEmmanuel Vadot----------
10*c66ec88fSEmmanuel VadotA "cpus" node is required.  Required properties:
11*c66ec88fSEmmanuel Vadot - #address-cells: Must be 1.
12*c66ec88fSEmmanuel Vadot - #size-cells: Must be 0.
13*c66ec88fSEmmanuel VadotA CPU sub-node is also required for at least CPU 0.  Since the topology may
14*c66ec88fSEmmanuel Vadotbe probed via CPS, it is not necessary to specify secondary CPUs.  Required
15*c66ec88fSEmmanuel Vadotpropertis:
16*c66ec88fSEmmanuel Vadot - device_type: Must be "cpu".
17*c66ec88fSEmmanuel Vadot - compatible: Must be "mti,interaptiv".
18*c66ec88fSEmmanuel Vadot - reg: CPU number.
19*c66ec88fSEmmanuel Vadot - clocks: Must include the CPU clock.  See ../../clock/clock-bindings.txt for
20*c66ec88fSEmmanuel Vadot   details on clock bindings.
21*c66ec88fSEmmanuel VadotExample:
22*c66ec88fSEmmanuel Vadot	cpus {
23*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
24*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot		cpu0: cpu@0 {
27*c66ec88fSEmmanuel Vadot			device_type = "cpu";
28*c66ec88fSEmmanuel Vadot			compatible = "mti,interaptiv";
29*c66ec88fSEmmanuel Vadot			reg = <0>;
30*c66ec88fSEmmanuel Vadot			clocks = <&clk_core CLK_MIPS>;
31*c66ec88fSEmmanuel Vadot		};
32*c66ec88fSEmmanuel Vadot	};
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel VadotBoot protocol:
36*c66ec88fSEmmanuel Vadot--------------
37*c66ec88fSEmmanuel VadotIn accordance with the MIPS UHI specification[1], the bootloader must pass the
38*c66ec88fSEmmanuel Vadotfollowing arguments to the kernel:
39*c66ec88fSEmmanuel Vadot - $a0: -2.
40*c66ec88fSEmmanuel Vadot - $a1: KSEG0 address of the flattened device-tree blob.
41*c66ec88fSEmmanuel Vadot
42*c66ec88fSEmmanuel Vadot[1] http://prplfoundation.org/wiki/MIPS_documentation
43