1/*
2 * Copyright 2016 Freescale Semiconductor
3 *
4 * SPDX-License-Identifier:	GPL-2.0+
5 */
6
7/include/ "fsl-ls1012a.dtsi"
8
9/ {
10	model = "LS1012A QDS Board";
11	aliases {
12		spi0 = &qspi;
13		spi1 = &dspi0;
14	};
15};
16
17&dspi0 {
18	bus-num = <0>;
19	status = "okay";
20
21	dflash0: n25q128a {
22		#address-cells = <1>;
23		#size-cells = <1>;
24		compatible = "spi-flash";
25		reg = <0>;
26		spi-max-frequency = <1000000>; /* input clock */
27	};
28
29	dflash1: sst25wf040b {
30		#address-cells = <1>;
31		#size-cells = <1>;
32		compatible = "spi-flash";
33		spi-max-frequency = <3500000>;
34		reg = <1>;
35	};
36
37	dflash2: en25s64 {
38		#address-cells = <1>;
39		#size-cells = <1>;
40		compatible = "spi-flash";
41		spi-max-frequency = <3500000>;
42		reg = <2>;
43	};
44};
45
46&qspi {
47	bus-num = <0>;
48	status = "okay";
49
50	qflash0: s25fl128s@0 {
51		#address-cells = <1>;
52		#size-cells = <1>;
53		compatible = "spi-flash";
54		spi-max-frequency = <20000000>;
55		reg = <0>;
56	};
57};
58
59&i2c0 {
60	status = "okay";
61	pca9547@77 {
62		compatible = "philips,pca9547";
63		reg = <0x77>;
64		#address-cells = <1>;
65		#size-cells = <0>;
66
67		i2c@0 {
68			#address-cells = <1>;
69			#size-cells = <0>;
70			reg = <0x0>;
71
72			rtc@68 {
73				compatible = "dallas,ds3232";
74				reg = <0x68>;
75				/* IRQ10_B */
76				interrupts = <0 150 0x4>;
77			};
78		};
79
80		i2c@2 {
81			#address-cells = <1>;
82			#size-cells = <0>;
83			reg = <0x2>;
84
85			ina220@40 {
86				compatible = "ti,ina220";
87				reg = <0x40>;
88				shunt-resistor = <1000>;
89			};
90
91			ina220@41 {
92				compatible = "ti,ina220";
93				reg = <0x41>;
94				shunt-resistor = <1000>;
95			};
96		};
97
98		i2c@3 {
99			#address-cells = <1>;
100			#size-cells = <0>;
101			reg = <0x3>;
102
103			eeprom@56 {
104				compatible = "at24,24c512";
105				reg = <0x56>;
106			};
107
108			eeprom@57 {
109				compatible = "at24,24c512";
110				reg = <0x57>;
111			};
112
113			adt7461a@4c {
114				compatible = "adt7461a";
115				reg = <0x4c>;
116			};
117		};
118	};
119};
120
121&duart0 {
122	status = "okay";
123};
124