1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Device Tree file for NXP LS1028A QDS Board.
4 *
5 * Copyright 2018 NXP
6 *
7 * Harninder Rai <harninder.rai@nxp.com>
8 *
9 */
10
11/dts-v1/;
12
13#include "fsl-ls1028a.dtsi"
14
15/ {
16	model = "LS1028A QDS Board";
17	compatible = "fsl,ls1028a-qds", "fsl,ls1028a";
18
19	aliases {
20		gpio0 = &gpio1;
21		gpio1 = &gpio2;
22		gpio2 = &gpio3;
23		serial0 = &duart0;
24		serial1 = &duart1;
25	};
26
27	chosen {
28		stdout-path = "serial0:115200n8";
29	};
30
31	memory@80000000 {
32		device_type = "memory";
33		reg = <0x0 0x80000000 0x1 0x00000000>;
34	};
35};
36
37&duart0 {
38	status = "okay";
39};
40
41&duart1 {
42	status = "okay";
43};
44
45&i2c0 {
46	status = "okay";
47
48	i2c-mux@77 {
49		compatible = "nxp,pca9847";
50		reg = <0x77>;
51		#address-cells = <1>;
52		#size-cells = <0>;
53
54		i2c@2 {
55			#address-cells = <1>;
56			#size-cells = <0>;
57			reg = <0x2>;
58
59			current-monitor@40 {
60				compatible = "ti,ina220";
61				reg = <0x40>;
62				shunt-resistor = <1000>;
63			};
64
65			current-monitor@41 {
66				compatible = "ti,ina220";
67				reg = <0x41>;
68				shunt-resistor = <1000>;
69			};
70		};
71
72		i2c@3 {
73			#address-cells = <1>;
74			#size-cells = <0>;
75			reg = <0x3>;
76
77			rtc@51 {
78				compatible = "nxp,pcf2129";
79				reg = <0x51>;
80			};
81
82			eeprom@56 {
83				compatible = "atmel,24c512";
84				reg = <0x56>;
85			};
86
87			eeprom@57 {
88				compatible = "atmel,24c512";
89				reg = <0x57>;
90			};
91		};
92	};
93};
94