mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-02 02:37:05 +08:00

kernel: bump to 4.14.193, 4.19.138, 5.4.59 (#5350) 431fb8c mac80211: add AQL improvements 6bdd4c9 mac80211: add missing backports for building with 4.14 kernels 0106820 mac80211: add missing return code checks in AQL improvements e7f7101 mac80211: rework encapsulation offload support [package] base-files: add function for generating random MAC dnsmasq: abort dhcp_check on interface state boot: sync upstream source code ath10k-ct-firmware/mt76/sch_cake: update to latest git HEAD [script] download: add China Mirror Station [target] Sync: arc770, ath79, bcm63xx, kirkwood, lantiq, layerscape, mediatek, mvebu, octeon, oxnas, pistachio, uml Sync most of the target patches. Run-compiled-on: ipq40xx (4.19 & 5.4), ramips
82 lines
1.9 KiB
Diff
82 lines
1.9 KiB
Diff
From ad4eba0c36ce8af6ab9ea1bc163e4c1ac7c271c3 Mon Sep 17 00:00:00 2001
|
|
From: Hauke Mehrtens <hauke@hauke-m.de>
|
|
Date: Sat, 15 Aug 2020 16:09:02 +0200
|
|
Subject: [PATCH 903/904] MIPS: DTS: img: marduk: Add NXP SC16IS752IPW
|
|
|
|
Add NXP SC16IS752IPW SPI-UART controller to device tree.
|
|
|
|
This controller drives 2 UARTs and 7 LEDs on the board.
|
|
|
|
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
|
---
|
|
arch/mips/boot/dts/img/pistachio_marduk.dts | 51 +++++++++++++++++++++
|
|
1 file changed, 51 insertions(+)
|
|
|
|
--- a/arch/mips/boot/dts/img/pistachio_marduk.dts
|
|
+++ b/arch/mips/boot/dts/img/pistachio_marduk.dts
|
|
@@ -46,6 +46,46 @@
|
|
regulator-max-microvolt = <1800000>;
|
|
};
|
|
|
|
+ /* EXT clock from ca8210 is fed to sc16is752 */
|
|
+ ca8210_ext_clk: ca8210-ext-clk {
|
|
+ compatible = "fixed-clock";
|
|
+ #clock-cells = <0>;
|
|
+ clock-frequency = <16000000>;
|
|
+ clock-output-names = "ca8210_ext_clock";
|
|
+ };
|
|
+
|
|
+ gpioleds {
|
|
+ compatible = "gpio-leds";
|
|
+ user1 {
|
|
+ label = "marduk:red:user1";
|
|
+ gpios = <&sc16is752 0 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+ user2 {
|
|
+ label = "marduk:red:user2";
|
|
+ gpios = <&sc16is752 1 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+ user3 {
|
|
+ label = "marduk:red:user3";
|
|
+ gpios = <&sc16is752 2 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+ user4 {
|
|
+ label = "marduk:red:user4";
|
|
+ gpios = <&sc16is752 3 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+ user5 {
|
|
+ label = "marduk:red:user5";
|
|
+ gpios = <&sc16is752 4 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+ user6 {
|
|
+ label = "marduk:red:user6";
|
|
+ gpios = <&sc16is752 5 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+ user7 {
|
|
+ label = "marduk:red:user7";
|
|
+ gpios = <&sc16is752 6 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+ };
|
|
+
|
|
leds {
|
|
compatible = "pwm-leds";
|
|
heartbeat {
|
|
@@ -95,6 +135,17 @@
|
|
extclock-freq = <16000000>;
|
|
extclock-gpio = <2>;
|
|
};
|
|
+
|
|
+ sc16is752: sc16is752@1 {
|
|
+ compatible = "nxp,sc16is752";
|
|
+ reg = <1>;
|
|
+ clocks = <&ca8210_ext_clk>;
|
|
+ spi-max-frequency = <4000000>;
|
|
+ interrupt-parent = <&gpio0>;
|
|
+ interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
|
|
+ gpio-controller;
|
|
+ #gpio-cells = <2>;
|
|
+ };
|
|
};
|
|
|
|
&spfi1 {
|