Back to home page

OSCL-LXR

 
 

    


0001 /* Copyright (c) 2015, The Linux Foundation. All rights reserved.
0002  *
0003  * Permission to use, copy, modify, and/or distribute this software for any
0004  * purpose with or without fee is hereby granted, provided that the above
0005  * copyright notice and this permission notice appear in all copies.
0006  *
0007  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
0008  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
0009  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
0010  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
0011  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
0012  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
0013  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
0014  *
0015  */
0016 
0017 #include "qcom-ipq4019.dtsi"
0018 
0019 / {
0020         model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1";
0021 
0022         aliases {
0023                 serial0 = &blsp1_uart1;
0024         };
0025 
0026         chosen {
0027                 stdout-path = "serial0:115200n8";
0028         };
0029 
0030         soc {
0031                 rng@22000 {
0032                         status = "okay";
0033                 };
0034 
0035                 pinctrl@1000000 {
0036                         serial_pins: serial_pinmux {
0037                                 mux {
0038                                         pins = "gpio60", "gpio61";
0039                                         function = "blsp_uart0";
0040                                         bias-disable;
0041                                 };
0042                         };
0043 
0044                         spi_0_pins: spi_0_pinmux {
0045                                 pinmux {
0046                                         function = "blsp_spi0";
0047                                         pins = "gpio55", "gpio56", "gpio57";
0048                                 };
0049                                 pinmux_cs {
0050                                         function = "gpio";
0051                                         pins = "gpio54";
0052                                 };
0053                                 pinconf {
0054                                         pins = "gpio55", "gpio56", "gpio57";
0055                                         drive-strength = <12>;
0056                                         bias-disable;
0057                                 };
0058                                 pinconf_cs {
0059                                         pins = "gpio54";
0060                                         drive-strength = <2>;
0061                                         bias-disable;
0062                                         output-high;
0063                                 };
0064                         };
0065                 };
0066 
0067                 blsp_dma: dma-controller@7884000 {
0068                         status = "okay";
0069                 };
0070 
0071                 spi@78b5000 {
0072                         pinctrl-0 = <&spi_0_pins>;
0073                         pinctrl-names = "default";
0074                         status = "okay";
0075                         cs-gpios = <&tlmm 54 0>;
0076 
0077                         mx25l25635e@0 {
0078                                 #address-cells = <1>;
0079                                 #size-cells = <1>;
0080                                 reg = <0>;
0081                                 compatible = "mx25l25635e";
0082                                 spi-max-frequency = <24000000>;
0083                         };
0084                 };
0085 
0086                 serial@78af000 {
0087                         pinctrl-0 = <&serial_pins>;
0088                         pinctrl-names = "default";
0089                         status = "okay";
0090                 };
0091 
0092                 cryptobam: dma-controller@8e04000 {
0093                         status = "okay";
0094                 };
0095 
0096                 crypto@8e3a000 {
0097                         status = "okay";
0098                 };
0099 
0100                 watchdog@b017000 {
0101                         status = "okay";
0102                 };
0103 
0104                 wifi@a000000 {
0105                         status = "okay";
0106                 };
0107 
0108                 wifi@a800000 {
0109                         status = "okay";
0110                 };
0111         };
0112 };