Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003  * Device Tree file for Freescale LS1012A RDB Board.
0004  *
0005  * Copyright 2016 Freescale Semiconductor, Inc.
0006  *
0007  */
0008 /dts-v1/;
0009 
0010 #include <dt-bindings/interrupt-controller/irq.h>
0011 #include "fsl-ls1012a.dtsi"
0012 
0013 / {
0014         model = "LS1012A RDB Board";
0015         compatible = "fsl,ls1012a-rdb", "fsl,ls1012a";
0016 
0017         aliases {
0018                 serial0 = &duart0;
0019                 mmc0 = &esdhc0;
0020                 mmc1 = &esdhc1;
0021         };
0022 };
0023 
0024 &duart0 {
0025         status = "okay";
0026 };
0027 
0028 &esdhc0 {
0029         sd-uhs-sdr104;
0030         sd-uhs-sdr50;
0031         sd-uhs-sdr25;
0032         sd-uhs-sdr12;
0033         status = "okay";
0034 };
0035 
0036 &esdhc1 {
0037         mmc-hs200-1_8v;
0038         status = "okay";
0039 };
0040 
0041 &i2c0 {
0042         status = "okay";
0043 
0044         accelerometer@1e {
0045                 compatible = "nxp,fxos8700";
0046                 reg = <0x1e>;
0047                 interrupt-parent = <&gpio26>;
0048                 interrupts = <13 IRQ_TYPE_EDGE_RISING>;
0049                 interrupt-names = "INT1";
0050         };
0051 
0052         gyroscope@20 {
0053                 compatible = "nxp,fxas21002c";
0054                 reg = <0x20>;
0055         };
0056 
0057         gpio@24 {
0058                 compatible = "nxp,pcal9555a";
0059                 reg = <0x24>;
0060                 gpio-controller;
0061                 #gpio-cells = <2>;
0062         };
0063 
0064         gpio@25 {
0065                 compatible = "nxp,pcal9555a";
0066                 reg = <0x25>;
0067                 gpio-controller;
0068                 #gpio-cells = <2>;
0069         };
0070 
0071         gpio26: gpio@26 {
0072                 compatible = "nxp,pcal9555a";
0073                 reg = <0x26>;
0074                 interrupt-parent = <&gpio0>;
0075                 interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
0076                 interrupt-controller;
0077                 #interrupt-cells = <2>;
0078                 gpio-controller;
0079                 #gpio-cells = <2>;
0080         };
0081 
0082         current-sensor@40 {
0083                 compatible = "ti,ina220";
0084                 reg = <0x40>;
0085                 shunt-resistor = <2000>;
0086         };
0087 };
0088 
0089 &qspi {
0090         status = "okay";
0091 
0092         s25fs512s0: flash@0 {
0093                 compatible = "jedec,spi-nor";
0094                 #address-cells = <1>;
0095                 #size-cells = <1>;
0096                 spi-max-frequency = <50000000>;
0097                 m25p,fast-read;
0098                 reg = <0>;
0099                 spi-rx-bus-width = <2>;
0100                 spi-tx-bus-width = <2>;
0101         };
0102 };
0103 
0104 &sata {
0105         status = "okay";
0106 };