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 10*1ab66ad2SPawel 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 { 189c2eb8b7SYangbo Lu mmc0 = &esdhc0; 199c2eb8b7SYangbo Lu mmc1 = &esdhc1; 209c2eb8b7SYangbo Lu }; 21ba321360SHarninder Rai}; 22ba321360SHarninder Rai 23ba321360SHarninder Rai&duart0 { 24ba321360SHarninder Rai status = "okay"; 25ba321360SHarninder Rai}; 26ba321360SHarninder Rai 270f098701SYangbo Lu&esdhc0 { 280f098701SYangbo Lu sd-uhs-sdr104; 290f098701SYangbo Lu sd-uhs-sdr50; 300f098701SYangbo Lu sd-uhs-sdr25; 310f098701SYangbo Lu sd-uhs-sdr12; 320f098701SYangbo Lu status = "okay"; 330f098701SYangbo Lu}; 340f098701SYangbo Lu 350f098701SYangbo Lu&esdhc1 { 360f098701SYangbo Lu mmc-hs200-1_8v; 370f098701SYangbo Lu status = "okay"; 380f098701SYangbo Lu}; 390f098701SYangbo Lu 40ba321360SHarninder Rai&i2c0 { 41ba321360SHarninder Rai status = "okay"; 42*1ab66ad2SPawel Dembicki 43*1ab66ad2SPawel Dembicki accelerometer@1e { 44*1ab66ad2SPawel Dembicki compatible = "nxp,fxos8700"; 45*1ab66ad2SPawel Dembicki reg = <0x1e>; 46*1ab66ad2SPawel Dembicki interrupt-parent = <&gpio26>; 47*1ab66ad2SPawel Dembicki interrupts = <13 IRQ_TYPE_EDGE_RISING>; 48*1ab66ad2SPawel Dembicki interrupt-names = "INT1"; 49*1ab66ad2SPawel Dembicki }; 50*1ab66ad2SPawel Dembicki 51*1ab66ad2SPawel Dembicki gyroscope@20 { 52*1ab66ad2SPawel Dembicki compatible = "nxp,fxas21002c"; 53*1ab66ad2SPawel Dembicki reg = <0x20>; 54*1ab66ad2SPawel Dembicki }; 55*1ab66ad2SPawel Dembicki 56*1ab66ad2SPawel Dembicki gpio@24 { 57*1ab66ad2SPawel Dembicki compatible = "nxp,pcal9555a"; 58*1ab66ad2SPawel Dembicki reg = <0x24>; 59*1ab66ad2SPawel Dembicki gpio-controller; 60*1ab66ad2SPawel Dembicki #gpio-cells = <2>; 61*1ab66ad2SPawel Dembicki }; 62*1ab66ad2SPawel Dembicki 63*1ab66ad2SPawel Dembicki gpio@25 { 64*1ab66ad2SPawel Dembicki compatible = "nxp,pcal9555a"; 65*1ab66ad2SPawel Dembicki reg = <0x25>; 66*1ab66ad2SPawel Dembicki gpio-controller; 67*1ab66ad2SPawel Dembicki #gpio-cells = <2>; 68*1ab66ad2SPawel Dembicki }; 69*1ab66ad2SPawel Dembicki 70*1ab66ad2SPawel Dembicki gpio26: gpio@26 { 71*1ab66ad2SPawel Dembicki compatible = "nxp,pcal9555a"; 72*1ab66ad2SPawel Dembicki reg = <0x26>; 73*1ab66ad2SPawel Dembicki interrupt-parent = <&gpio0>; 74*1ab66ad2SPawel Dembicki interrupts = <13 IRQ_TYPE_EDGE_FALLING>; 75*1ab66ad2SPawel Dembicki interrupt-controller; 76*1ab66ad2SPawel Dembicki #interrupt-cells = <2>; 77*1ab66ad2SPawel Dembicki gpio-controller; 78*1ab66ad2SPawel Dembicki #gpio-cells = <2>; 79*1ab66ad2SPawel Dembicki }; 80*1ab66ad2SPawel Dembicki 81*1ab66ad2SPawel Dembicki current-sensor@40 { 82*1ab66ad2SPawel Dembicki compatible = "ti,ina220"; 83*1ab66ad2SPawel Dembicki reg = <0x40>; 84*1ab66ad2SPawel Dembicki shunt-resistor = <2000>; 85*1ab66ad2SPawel Dembicki }; 86ba321360SHarninder Rai}; 87427700a7SYuantian Tang 88f5ac5ac1SKuldeep Singh&qspi { 89f5ac5ac1SKuldeep Singh status = "okay"; 90f5ac5ac1SKuldeep Singh 91f5ac5ac1SKuldeep Singh s25fs512s0: flash@0 { 92f5ac5ac1SKuldeep Singh compatible = "jedec,spi-nor"; 93f5ac5ac1SKuldeep Singh #address-cells = <1>; 94f5ac5ac1SKuldeep Singh #size-cells = <1>; 95f5ac5ac1SKuldeep Singh spi-max-frequency = <50000000>; 96f5ac5ac1SKuldeep Singh m25p,fast-read; 97f5ac5ac1SKuldeep Singh reg = <0>; 98f5ac5ac1SKuldeep Singh spi-rx-bus-width = <2>; 99f5ac5ac1SKuldeep Singh spi-tx-bus-width = <2>; 100f5ac5ac1SKuldeep Singh }; 101f5ac5ac1SKuldeep Singh}; 102f5ac5ac1SKuldeep Singh 103427700a7SYuantian Tang&sata { 104427700a7SYuantian Tang status = "okay"; 105427700a7SYuantian Tang}; 106