OpenWrt

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 2  →  ?path2? @ 3
/branches/18.06.1/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
@@ -1,6 +1,21 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
*/
 
#include "qcom-ipq4019.dtsi"
#include "qcom-ipq4019-bus.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/soc/qcom,tcsr.h>
@@ -21,10 +36,6 @@
led-upgrade = &power;
};
 
chosen {
bootargs-append = " ubi.mtd=UBI_DEV";
};
 
soc {
mdio@90000 {
status = "okay";
@@ -60,35 +71,16 @@
 
usb2@60f8800 {
status = "okay";
};
 
dwc3@6000000 {
#address-cells = <1>;
#size-cells = <0>;
 
usb2_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
};
serial@78af000 {
pinctrl-0 = <&serial_pins>;
pinctrl-names = "default";
status = "okay";
};
 
usb3@8af8800 {
status = "okay";
 
dwc3@8a00000 {
#address-cells = <1>;
#size-cells = <0>;
 
usb3_port1: port@1 {
reg = <1>;
#trigger-source-cells = <0>;
};
 
usb3_port2: port@2 {
reg = <2>;
#trigger-source-cells = <0>;
};
};
};
 
crypto@8e3a000 {
@@ -118,7 +110,7 @@
};
};
 
keys {
gpio-keys {
compatible = "gpio-keys";
 
reset {
@@ -134,7 +126,7 @@
};
};
 
leds {
gpio-leds {
compatible = "gpio-leds";
 
power: status {
@@ -160,8 +152,6 @@
usb {
label = "rt-ac58u:blue:usb";
gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
trigger-sources = <&usb3_port1>, <&usb3_port2>, <&usb2_port1>;
linux,default-trigger = "usbport";
};
 
lan {
@@ -206,7 +196,7 @@
};
};
 
&blsp1_spi1 { /* BLSP1 QUP1 */
&spi_0 { /* BLSP1 QUP1 */
pinctrl-0 = <&spi_0_pins>;
pinctrl-names = "default";
status = "okay";
@@ -213,7 +203,7 @@
cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>,
<&tlmm 59 GPIO_ACTIVE_HIGH>;
 
flash@0 {
m25p80@0 {
#address-cells = <1>;
#size-cells = <0>;
/*
@@ -275,7 +265,7 @@
};
};
 
flash@1 {
mt29f@1 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "spinand,mt29f";
@@ -282,18 +272,12 @@
reg = <1>;
spi-max-frequency = <24000000>;
 
/*
* U-boot looks for "spinand,mt29f" node,
* if we don't have it, it will spit out the following warning:
* "ipq: fdt fixup unable to find compatible node".
*/
 
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
 
partition@0 {
partition0@0 {
label = "ubi";
reg = <0x00000000 0x08000000>;
};
@@ -301,12 +285,6 @@
};
};
 
&blsp1_uart1 {
pinctrl-0 = <&serial_pins>;
pinctrl-names = "default";
status = "okay";
};
 
&usb3_ss_phy {
status = "okay";
};