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