17a2aeb91SLi Yang// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2ba321360SHarninder Rai/*
3ba321360SHarninder Rai * Device Tree file for Freescale LS1012A RDB Board.
4ba321360SHarninder Rai *
58637f58bSLi Yang * Copyright 2016 Freescale Semiconductor, Inc.
6ba321360SHarninder Rai *
7ba321360SHarninder Rai */
8ba321360SHarninder Rai/dts-v1/;
9ba321360SHarninder Rai
101ab66ad2SPawel Dembicki#include <dt-bindings/interrupt-controller/irq.h>
11ba321360SHarninder Rai#include "fsl-ls1012a.dtsi"
12ba321360SHarninder Rai
13ba321360SHarninder Rai/ {
14ba321360SHarninder Rai	model = "LS1012A RDB Board";
15ba321360SHarninder Rai	compatible = "fsl,ls1012a-rdb", "fsl,ls1012a";
169c2eb8b7SYangbo Lu
179c2eb8b7SYangbo Lu	aliases {
18*b6f64bd4SKuldeep Singh		serial0 = &duart0;
199c2eb8b7SYangbo Lu		mmc0 = &esdhc0;
209c2eb8b7SYangbo Lu		mmc1 = &esdhc1;
219c2eb8b7SYangbo Lu	};
22ba321360SHarninder Rai};
23ba321360SHarninder Rai
24ba321360SHarninder Rai&duart0 {
25ba321360SHarninder Rai	status = "okay";
26ba321360SHarninder Rai};
27ba321360SHarninder Rai
280f098701SYangbo Lu&esdhc0 {
290f098701SYangbo Lu	sd-uhs-sdr104;
300f098701SYangbo Lu	sd-uhs-sdr50;
310f098701SYangbo Lu	sd-uhs-sdr25;
320f098701SYangbo Lu	sd-uhs-sdr12;
330f098701SYangbo Lu	status = "okay";
340f098701SYangbo Lu};
350f098701SYangbo Lu
360f098701SYangbo Lu&esdhc1 {
370f098701SYangbo Lu	mmc-hs200-1_8v;
380f098701SYangbo Lu	status = "okay";
390f098701SYangbo Lu};
400f098701SYangbo Lu
41ba321360SHarninder Rai&i2c0 {
42ba321360SHarninder Rai	status = "okay";
431ab66ad2SPawel Dembicki
441ab66ad2SPawel Dembicki	accelerometer@1e {
451ab66ad2SPawel Dembicki		compatible = "nxp,fxos8700";
461ab66ad2SPawel Dembicki		reg = <0x1e>;
471ab66ad2SPawel Dembicki		interrupt-parent = <&gpio26>;
481ab66ad2SPawel Dembicki		interrupts = <13 IRQ_TYPE_EDGE_RISING>;
491ab66ad2SPawel Dembicki		interrupt-names = "INT1";
501ab66ad2SPawel Dembicki	};
511ab66ad2SPawel Dembicki
521ab66ad2SPawel Dembicki	gyroscope@20 {
531ab66ad2SPawel Dembicki		compatible = "nxp,fxas21002c";
541ab66ad2SPawel Dembicki		reg = <0x20>;
551ab66ad2SPawel Dembicki	};
561ab66ad2SPawel Dembicki
571ab66ad2SPawel Dembicki	gpio@24 {
581ab66ad2SPawel Dembicki		compatible = "nxp,pcal9555a";
591ab66ad2SPawel Dembicki		reg = <0x24>;
601ab66ad2SPawel Dembicki		gpio-controller;
611ab66ad2SPawel Dembicki		#gpio-cells = <2>;
621ab66ad2SPawel Dembicki	};
631ab66ad2SPawel Dembicki
641ab66ad2SPawel Dembicki	gpio@25 {
651ab66ad2SPawel Dembicki		compatible = "nxp,pcal9555a";
661ab66ad2SPawel Dembicki		reg = <0x25>;
671ab66ad2SPawel Dembicki		gpio-controller;
681ab66ad2SPawel Dembicki		#gpio-cells = <2>;
691ab66ad2SPawel Dembicki	};
701ab66ad2SPawel Dembicki
711ab66ad2SPawel Dembicki	gpio26: gpio@26 {
721ab66ad2SPawel Dembicki		compatible = "nxp,pcal9555a";
731ab66ad2SPawel Dembicki		reg = <0x26>;
741ab66ad2SPawel Dembicki		interrupt-parent = <&gpio0>;
751ab66ad2SPawel Dembicki		interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
761ab66ad2SPawel Dembicki		interrupt-controller;
771ab66ad2SPawel Dembicki		#interrupt-cells = <2>;
781ab66ad2SPawel Dembicki		gpio-controller;
791ab66ad2SPawel Dembicki		#gpio-cells = <2>;
801ab66ad2SPawel Dembicki	};
811ab66ad2SPawel Dembicki
821ab66ad2SPawel Dembicki	current-sensor@40 {
831ab66ad2SPawel Dembicki		compatible = "ti,ina220";
841ab66ad2SPawel Dembicki		reg = <0x40>;
851ab66ad2SPawel Dembicki		shunt-resistor = <2000>;
861ab66ad2SPawel Dembicki	};
87ba321360SHarninder Rai};
88427700a7SYuantian Tang
89f5ac5ac1SKuldeep Singh&qspi {
90f5ac5ac1SKuldeep Singh	status = "okay";
91f5ac5ac1SKuldeep Singh
92f5ac5ac1SKuldeep Singh	s25fs512s0: flash@0 {
93f5ac5ac1SKuldeep Singh		compatible = "jedec,spi-nor";
94f5ac5ac1SKuldeep Singh		#address-cells = <1>;
95f5ac5ac1SKuldeep Singh		#size-cells = <1>;
96f5ac5ac1SKuldeep Singh		spi-max-frequency = <50000000>;
97f5ac5ac1SKuldeep Singh		m25p,fast-read;
98f5ac5ac1SKuldeep Singh		reg = <0>;
99f5ac5ac1SKuldeep Singh		spi-rx-bus-width = <2>;
100f5ac5ac1SKuldeep Singh		spi-tx-bus-width = <2>;
101f5ac5ac1SKuldeep Singh	};
102f5ac5ac1SKuldeep Singh};
103f5ac5ac1SKuldeep Singh
104427700a7SYuantian Tang&sata {
105427700a7SYuantian Tang	status = "okay";
106427700a7SYuantian Tang};
107