2 * Device tree overlay for Microchip mcp3008 10-Bit A/D Converters
9 compatible = "brcm,bcm2835";
26 target-path = "spi1/spidev@0";
33 target-path = "spi1/spidev@1";
40 target-path = "spi1/spidev@2";
47 target-path = "spi2/spidev@0";
54 target-path = "spi2/spidev@1";
61 target-path = "spi2/spidev@2";
74 mcp3008_00: mcp3008@0 {
75 compatible = "microchip,mcp3008";
77 spi-max-frequency = <1600000>;
89 mcp3008_01: mcp3008@1 {
90 compatible = "microchip,mcp3008";
92 spi-max-frequency = <1600000>;
101 #address-cells = <1>;
104 mcp3008_10: mcp3008@0 {
105 compatible = "microchip,mcp3008";
107 spi-max-frequency = <1600000>;
116 #address-cells = <1>;
119 mcp3008_11: mcp3008@1 {
120 compatible = "microchip,mcp3008";
122 spi-max-frequency = <1600000>;
131 #address-cells = <1>;
134 mcp3008_12: mcp3008@2 {
135 compatible = "microchip,mcp3008";
137 spi-max-frequency = <1600000>;
146 #address-cells = <1>;
149 mcp3008_20: mcp3008@0 {
150 compatible = "microchip,mcp3008";
152 spi-max-frequency = <1600000>;
161 #address-cells = <1>;
164 mcp3008_21: mcp3008@1 {
165 compatible = "microchip,mcp3008";
167 spi-max-frequency = <1600000>;
176 #address-cells = <1>;
179 mcp3008_22: mcp3008@2 {
180 compatible = "microchip,mcp3008";
182 spi-max-frequency = <1600000>;
188 spi0-0-present = <0>, "+0+8";
189 spi0-1-present = <0>, "+1+9";
190 spi1-0-present = <0>, "+2+10";
191 spi1-1-present = <0>, "+3+11";
192 spi1-2-present = <0>, "+4+12";
193 spi2-0-present = <0>, "+5+13";
194 spi2-1-present = <0>, "+6+14";
195 spi2-2-present = <0>, "+7+15";
196 spi0-0-speed = <&mcp3008_00>, "spi-max-frequency:0";
197 spi0-1-speed = <&mcp3008_01>, "spi-max-frequency:0";
198 spi1-0-speed = <&mcp3008_10>, "spi-max-frequency:0";
199 spi1-1-speed = <&mcp3008_11>, "spi-max-frequency:0";
200 spi1-2-speed = <&mcp3008_12>, "spi-max-frequency:0";
201 spi2-0-speed = <&mcp3008_20>, "spi-max-frequency:0";
202 spi2-1-speed = <&mcp3008_21>, "spi-max-frequency:0";
203 spi2-2-speed = <&mcp3008_22>, "spi-max-frequency:0";