17a5d7347SHarninder Rai/*
27a5d7347SHarninder Rai * Device Tree file for NXP LS1088A RDB Board.
37a5d7347SHarninder Rai *
47a5d7347SHarninder Rai * Copyright 2017 NXP
57a5d7347SHarninder Rai *
67a5d7347SHarninder Rai * Harninder Rai <harninder.rai@nxp.com>
77a5d7347SHarninder Rai *
87a5d7347SHarninder Rai * This file is dual-licensed: you can use it either under the terms
97a5d7347SHarninder Rai * of the GPLv2 or the X11 license, at your option. Note that this dual
107a5d7347SHarninder Rai * licensing only applies to this file, and not this project as a
117a5d7347SHarninder Rai * whole.
127a5d7347SHarninder Rai *
137a5d7347SHarninder Rai *  a) This library is free software; you can redistribute it and/or
147a5d7347SHarninder Rai *     modify it under the terms of the GNU General Public License as
157a5d7347SHarninder Rai *     published by the Free Software Foundation; either version 2 of the
167a5d7347SHarninder Rai *     License, or (at your option) any later version.
177a5d7347SHarninder Rai *
187a5d7347SHarninder Rai *     This library is distributed in the hope that it will be useful,
197a5d7347SHarninder Rai *     but WITHOUT ANY WARRANTY; without even the implied warranty of
207a5d7347SHarninder Rai *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
217a5d7347SHarninder Rai *     GNU General Public License for more details.
227a5d7347SHarninder Rai *
237a5d7347SHarninder Rai * Or, alternatively,
247a5d7347SHarninder Rai *
257a5d7347SHarninder Rai *  b) Permission is hereby granted, free of charge, to any person
267a5d7347SHarninder Rai *     obtaining a copy of this software and associated documentation
277a5d7347SHarninder Rai *     files (the "Software"), to deal in the Software without
287a5d7347SHarninder Rai *     restriction, including without limitation the rights to use,
297a5d7347SHarninder Rai *     copy, modify, merge, publish, distribute, sublicense, and/or
307a5d7347SHarninder Rai *     sell copies of the Software, and to permit persons to whom the
317a5d7347SHarninder Rai *     Software is furnished to do so, subject to the following
327a5d7347SHarninder Rai *     conditions:
337a5d7347SHarninder Rai *
347a5d7347SHarninder Rai *     The above copyright notice and this permission notice shall be
357a5d7347SHarninder Rai *     included in all copies or substantial portions of the Software.
367a5d7347SHarninder Rai *
377a5d7347SHarninder Rai *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
387a5d7347SHarninder Rai *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
397a5d7347SHarninder Rai *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
407a5d7347SHarninder Rai *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
417a5d7347SHarninder Rai *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
427a5d7347SHarninder Rai *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
437a5d7347SHarninder Rai *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
447a5d7347SHarninder Rai *     OTHER DEALINGS IN THE SOFTWARE.
457a5d7347SHarninder Rai */
467a5d7347SHarninder Rai
477a5d7347SHarninder Rai/dts-v1/;
487a5d7347SHarninder Rai
497a5d7347SHarninder Rai#include "fsl-ls1088a.dtsi"
507a5d7347SHarninder Rai
517a5d7347SHarninder Rai/ {
527a5d7347SHarninder Rai	model = "L1088A RDB Board";
537a5d7347SHarninder Rai	compatible = "fsl,ls1088a-rdb", "fsl,ls1088a";
547a5d7347SHarninder Rai};
557a5d7347SHarninder Rai
567a5d7347SHarninder Rai&i2c0 {
577a5d7347SHarninder Rai	status = "okay";
587a5d7347SHarninder Rai
597a5d7347SHarninder Rai	i2c-switch@77 {
607a5d7347SHarninder Rai		compatible = "nxp,pca9547";
617a5d7347SHarninder Rai		reg = <0x77>;
627a5d7347SHarninder Rai		#address-cells = <1>;
637a5d7347SHarninder Rai		#size-cells = <0>;
647a5d7347SHarninder Rai
657a5d7347SHarninder Rai		i2c@2 {
667a5d7347SHarninder Rai			#address-cells = <1>;
677a5d7347SHarninder Rai			#size-cells = <0>;
687a5d7347SHarninder Rai			reg = <0x2>;
697a5d7347SHarninder Rai
707a5d7347SHarninder Rai			ina220@40 {
717a5d7347SHarninder Rai				compatible = "ti,ina220";
727a5d7347SHarninder Rai				reg = <0x40>;
737a5d7347SHarninder Rai				shunt-resistor = <1000>;
747a5d7347SHarninder Rai			};
757a5d7347SHarninder Rai		};
767a5d7347SHarninder Rai
777a5d7347SHarninder Rai		i2c@3 {
787a5d7347SHarninder Rai			#address-cells = <1>;
797a5d7347SHarninder Rai			#size-cells = <0>;
807a5d7347SHarninder Rai			reg = <0x3>;
817a5d7347SHarninder Rai
827a5d7347SHarninder Rai			temp-sensor@4c {
837a5d7347SHarninder Rai				compatible = "adi,adt7461a";
847a5d7347SHarninder Rai				reg = <0x4c>;
857a5d7347SHarninder Rai			};
867a5d7347SHarninder Rai
877a5d7347SHarninder Rai			rtc@51 {
887a5d7347SHarninder Rai				compatible = "nxp,pcf2129";
897a5d7347SHarninder Rai				reg = <0x51>;
907a5d7347SHarninder Rai				/* IRQ10_B */
917a5d7347SHarninder Rai				interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>;
927a5d7347SHarninder Rai			};
937a5d7347SHarninder Rai		};
947a5d7347SHarninder Rai	};
957a5d7347SHarninder Rai};
967a5d7347SHarninder Rai
977a5d7347SHarninder Rai&duart0 {
987a5d7347SHarninder Rai	status = "okay";
997a5d7347SHarninder Rai};
1007a5d7347SHarninder Rai
1017a5d7347SHarninder Rai&duart1 {
1027a5d7347SHarninder Rai	status = "okay";
1037a5d7347SHarninder Rai};
1047a5d7347SHarninder Rai
1057a5d7347SHarninder Rai&sata {
1067a5d7347SHarninder Rai	status = "okay";
1077a5d7347SHarninder Rai};
108