blob: efbe89dd47937ffc670fb40afb1c1e953ac5dca4 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
2 *
3 * Permission to use, copy, modify, and/or distribute this software for any
4 * purpose with or without fee is hereby granted, provided that the above
5 * copyright notice and this permission notice appear in all copies.
6 *
7 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 *
15 */
16
17#include <dt-bindings/gpio/gpio.h>
18#include "qcom-ipq4019.dtsi"
19
20/ {
21 model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1";
22
23 aliases {
24 serial0 = &blsp1_uart1;
25 };
26
27 chosen {
28 stdout-path = "serial0:115200n8";
29 };
Tom Rini6bb92fc2024-05-20 09:54:58 -060030};
Tom Rini53633a82024-02-29 12:33:36 -050031
Tom Rini6bb92fc2024-05-20 09:54:58 -060032&prng {
33 status = "okay";
34};
Tom Rini53633a82024-02-29 12:33:36 -050035
Tom Rini6bb92fc2024-05-20 09:54:58 -060036&tlmm {
Tom Rini9c8af152024-12-24 12:03:04 -060037 serial_pins: serial-state {
38 pins = "gpio60", "gpio61";
39 function = "blsp_uart0";
40 bias-disable;
Tom Rini6bb92fc2024-05-20 09:54:58 -060041 };
Tom Rini53633a82024-02-29 12:33:36 -050042
Tom Rini9c8af152024-12-24 12:03:04 -060043 spi_0_pins: spi-0-state {
44 spi0-pins {
Tom Rini6bb92fc2024-05-20 09:54:58 -060045 pins = "gpio55", "gpio56", "gpio57";
Tom Rini9c8af152024-12-24 12:03:04 -060046 function = "blsp_spi0";
Tom Rini6bb92fc2024-05-20 09:54:58 -060047 drive-strength = <12>;
48 bias-disable;
49 };
Tom Rini9c8af152024-12-24 12:03:04 -060050 spi0-cs-pins {
Tom Rini6bb92fc2024-05-20 09:54:58 -060051 pins = "gpio54";
Tom Rini9c8af152024-12-24 12:03:04 -060052 function = "gpio";
Tom Rini6bb92fc2024-05-20 09:54:58 -060053 drive-strength = <2>;
54 bias-disable;
55 output-high;
56 };
57 };
58};
Tom Rini53633a82024-02-29 12:33:36 -050059
Tom Rini6bb92fc2024-05-20 09:54:58 -060060&blsp_dma {
61 status = "okay";
62};
Tom Rini53633a82024-02-29 12:33:36 -050063
Tom Rini6bb92fc2024-05-20 09:54:58 -060064&blsp1_spi1 {
65 pinctrl-0 = <&spi_0_pins>;
66 pinctrl-names = "default";
67 status = "okay";
68 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
Tom Rini53633a82024-02-29 12:33:36 -050069
Tom Rini6bb92fc2024-05-20 09:54:58 -060070 flash@0 {
71 reg = <0>;
72 compatible = "jedec,spi-nor";
73 spi-max-frequency = <24000000>;
74 };
75};
Tom Rini53633a82024-02-29 12:33:36 -050076
Tom Rini6bb92fc2024-05-20 09:54:58 -060077&blsp1_uart1 {
78 pinctrl-0 = <&serial_pins>;
79 pinctrl-names = "default";
80 status = "okay";
81};
Tom Rini53633a82024-02-29 12:33:36 -050082
Tom Rini6bb92fc2024-05-20 09:54:58 -060083&cryptobam {
84 status = "okay";
85};
Tom Rini53633a82024-02-29 12:33:36 -050086
Tom Rini6bb92fc2024-05-20 09:54:58 -060087&crypto {
88 status = "okay";
89};
Tom Rini53633a82024-02-29 12:33:36 -050090
Tom Rini6bb92fc2024-05-20 09:54:58 -060091&watchdog {
92 status = "okay";
93};
Tom Rini53633a82024-02-29 12:33:36 -050094
Tom Rini6bb92fc2024-05-20 09:54:58 -060095&wifi0 {
96 status = "okay";
97};
98
99&wifi1 {
100 status = "okay";
Tom Rini53633a82024-02-29 12:33:36 -0500101};