forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'armsoc-late' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/arm/arm-soc Pull more ARM SoC updates from Olof Johansson: "A few updates that we merged late but are low risk for regressions for other platforms (and a few other straggling patches): - I mis-tagged the 'drivers' branch, and missed 3 patches. Merged in here. They're for a driver for the PL353 SRAM controller and a build fix for the qualcomm scm driver. - A new platform, RDA Micro RDA8810PL (Cortex-A5 w/ integrated Vivante GPU, 256MB RAM, Wifi). This includes some acked platform-specific drivers (serial, etc). This also include DTs for two boards with this SoC, OrangePi 2G and OrangePi i86. - i.MX8 is another new platform (NXP, 4x Cortex-A53 + Cortex-M4, 4K video playback offload). This is the first i.MX 64-bit SoC. - Some minor updates to Samsung boards (adding a few peripherals in DTs). - Small rework for SMP bootup on STi platforms. - A couple of TEE driver fixes. - A couple of new config options (bcm2835 thermal, Uniphier MDMAC) enabled in defconfigs" * tag 'armsoc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (27 commits) ARM: multi_v7_defconfig: enable CONFIG_UNIPHIER_MDMAC arm64: defconfig: Re-enable bcm2835-thermal driver MAINTAINERS: Add entry for RDA Micro SoC architecture tty: serial: Add RDA8810PL UART driver ARM: dts: rda8810pl: Add interrupt support for UART dt-bindings: serial: Document RDA Micro UART ARM: dts: rda8810pl: Add timer support ARM: dts: Add devicetree for OrangePi i96 board ARM: dts: Add devicetree for OrangePi 2G IoT board ARM: dts: Add devicetree for RDA8810PL SoC ARM: Prepare RDA8810PL SoC dt-bindings: arm: Document RDA8810PL and reference boards dt-bindings: Add RDA Micro vendor prefix ARM: sti: remove pen_release and boot_lock arm64: dts: exynos: Add Bluetooth chip to TM2(e) boards arm64: dts: imx8mq-evk: enable watchdog arm64: dts: imx8mq: add watchdog devices MAINTAINERS: add i.MX8 DT path to i.MX architecture arm64: add support for i.MX8M EVK board arm64: add basic DTS for i.MX8MQ ...
- Loading branch information
Showing
37 changed files
with
3,084 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
RDA Micro platforms device tree bindings | ||
---------------------------------------- | ||
|
||
RDA8810PL SoC | ||
============= | ||
|
||
Required root node properties: | ||
|
||
- compatible : must contain "rda,8810pl" | ||
|
||
|
||
Boards: | ||
|
||
Root node property compatible must contain, depending on board: | ||
|
||
- Orange Pi 2G-IoT: "xunlong,orangepi-2g-iot" | ||
- Orange Pi i96: "xunlong,orangepi-i96" |
47 changes: 47 additions & 0 deletions
47
Documentation/devicetree/bindings/memory-controllers/pl353-smc.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
Device tree bindings for ARM PL353 static memory controller | ||
|
||
PL353 static memory controller supports two kinds of memory | ||
interfaces.i.e NAND and SRAM/NOR interfaces. | ||
The actual devices are instantiated from the child nodes of pl353 smc node. | ||
|
||
Required properties: | ||
- compatible : Should be "arm,pl353-smc-r2p1", "arm,primecell". | ||
- reg : Controller registers map and length. | ||
- clock-names : List of input clock names - "memclk", "apb_pclk" | ||
(See clock bindings for details). | ||
- clocks : Clock phandles (see clock bindings for details). | ||
- address-cells : Must be 2. | ||
- size-cells : Must be 1. | ||
|
||
Child nodes: | ||
For NAND the "arm,pl353-nand-r2p1" and for NOR the "cfi-flash" drivers are | ||
supported as child nodes. | ||
|
||
for NAND partition information please refer the below file | ||
Documentation/devicetree/bindings/mtd/partition.txt | ||
|
||
Example: | ||
smcc: memory-controller@e000e000 | ||
compatible = "arm,pl353-smc-r2p1", "arm,primecell"; | ||
clock-names = "memclk", "apb_pclk"; | ||
clocks = <&clkc 11>, <&clkc 44>; | ||
reg = <0xe000e000 0x1000>; | ||
#address-cells = <2>; | ||
#size-cells = <1>; | ||
ranges = <0x0 0x0 0xe1000000 0x1000000 //Nand CS Region | ||
0x1 0x0 0xe2000000 0x2000000 //SRAM/NOR CS Region | ||
0x2 0x0 0xe4000000 0x2000000>; //SRAM/NOR CS Region | ||
nand_0: flash@e1000000 { | ||
compatible = "arm,pl353-nand-r2p1" | ||
reg = <0 0 0x1000000>; | ||
(...) | ||
}; | ||
nor0: flash@e2000000 { | ||
compatible = "cfi-flash"; | ||
reg = <1 0 0x2000000>; | ||
}; | ||
nor1: flash@e4000000 { | ||
compatible = "cfi-flash"; | ||
reg = <2 0 0x2000000>; | ||
}; | ||
}; |
17 changes: 17 additions & 0 deletions
17
Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
RDA Micro UART | ||
|
||
Required properties: | ||
- compatible : "rda,8810pl-uart" for RDA8810PL SoCs. | ||
- reg : Offset and length of the register set for the device. | ||
- interrupts : Should contain UART interrupt. | ||
- clocks : Phandle to the input clock. | ||
|
||
|
||
Example: | ||
|
||
uart2: serial@20a90000 { | ||
compatible = "rda,8810pl-uart"; | ||
reg = <0x20a90000 0x1000>; | ||
interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&uart_clk>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1540,6 +1540,7 @@ F: arch/arm/mach-imx/ | |
F: arch/arm/mach-mxs/ | ||
F: arch/arm/boot/dts/imx* | ||
F: arch/arm/configs/imx*_defconfig | ||
F: arch/arm64/boot/dts/freescale/imx* | ||
F: drivers/clk/imx/ | ||
F: drivers/firmware/imx/ | ||
F: drivers/soc/imx/ | ||
|
@@ -1967,6 +1968,20 @@ M: Lennert Buytenhek <[email protected]> | |
L: [email protected] (moderated for non-subscribers) | ||
S: Maintained | ||
|
||
ARM/RDA MICRO ARCHITECTURE | ||
M: Manivannan Sadhasivam <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
L: [email protected] (moderated for non-subscribers) | ||
S: Maintained | ||
F: arch/arm/boot/dts/rda8810pl-* | ||
F: drivers/clocksource/timer-rda.c | ||
F: drivers/irqchip/irq-rda-intc.c | ||
F: drivers/tty/serial/rda-uart.c | ||
F: Documentation/devicetree/bindings/arm/rda.txt | ||
F: Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt | ||
F: Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt | ||
F: Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt | ||
|
||
ARM/REALTEK ARCHITECTURE | ||
M: Andreas Färber <[email protected]> | ||
L: [email protected] (moderated for non-subscribers) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
/* | ||
* Copyright (c) 2017 Andreas Färber | ||
* Copyright (c) 2018 Manivannan Sadhasivam | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "rda8810pl.dtsi" | ||
|
||
/ { | ||
compatible = "xunlong,orangepi-2g-iot", "rda,8810pl"; | ||
model = "Orange Pi 2G-IoT"; | ||
|
||
aliases { | ||
serial0 = &uart1; | ||
serial1 = &uart2; | ||
serial2 = &uart3; | ||
}; | ||
|
||
chosen { | ||
stdout-path = "serial2:921600n8"; | ||
}; | ||
|
||
memory@80000000 { | ||
device_type = "memory"; | ||
reg = <0x80000000 0x10000000>; | ||
}; | ||
|
||
uart_clk: uart-clk { | ||
compatible = "fixed-clock"; | ||
clock-frequency = <921600>; | ||
#clock-cells = <0>; | ||
}; | ||
}; | ||
|
||
&uart1 { | ||
status = "okay"; | ||
clocks = <&uart_clk>; | ||
}; | ||
|
||
&uart2 { | ||
status = "okay"; | ||
clocks = <&uart_clk>; | ||
}; | ||
|
||
&uart3 { | ||
status = "okay"; | ||
clocks = <&uart_clk>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
/* | ||
* Copyright (c) 2017 Andreas Färber | ||
* Copyright (c) 2018 Manivannan Sadhasivam | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "rda8810pl.dtsi" | ||
|
||
/ { | ||
compatible = "xunlong,orangepi-i96", "rda,8810pl"; | ||
model = "Orange Pi i96"; | ||
|
||
aliases { | ||
serial0 = &uart2; | ||
serial1 = &uart1; | ||
serial2 = &uart3; | ||
}; | ||
|
||
chosen { | ||
stdout-path = "serial2:921600n8"; | ||
}; | ||
|
||
memory@80000000 { | ||
device_type = "memory"; | ||
reg = <0x80000000 0x10000000>; | ||
}; | ||
|
||
uart_clk: uart-clk { | ||
compatible = "fixed-clock"; | ||
clock-frequency = <921600>; | ||
#clock-cells = <0>; | ||
}; | ||
}; | ||
|
||
&uart1 { | ||
status = "okay"; | ||
clocks = <&uart_clk>; | ||
}; | ||
|
||
&uart2 { | ||
status = "okay"; | ||
clocks = <&uart_clk>; | ||
}; | ||
|
||
&uart3 { | ||
status = "okay"; | ||
clocks = <&uart_clk>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) | ||
/* | ||
* RDA8810PL SoC | ||
* | ||
* Copyright (c) 2017 Andreas Färber | ||
* Copyright (c) 2018 Manivannan Sadhasivam | ||
*/ | ||
|
||
#include <dt-bindings/interrupt-controller/irq.h> | ||
|
||
/ { | ||
compatible = "rda,8810pl"; | ||
interrupt-parent = <&intc>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
cpus { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
cpu@0 { | ||
device_type = "cpu"; | ||
compatible = "arm,cortex-a5"; | ||
reg = <0x0>; | ||
}; | ||
}; | ||
|
||
sram@100000 { | ||
compatible = "mmio-sram"; | ||
reg = <0x100000 0x10000>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
ranges; | ||
}; | ||
|
||
apb@20800000 { | ||
compatible = "simple-bus"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
ranges = <0x0 0x20800000 0x100000>; | ||
|
||
intc: interrupt-controller@0 { | ||
compatible = "rda,8810pl-intc"; | ||
reg = <0x0 0x1000>; | ||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
}; | ||
}; | ||
|
||
apb@20900000 { | ||
compatible = "simple-bus"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
ranges = <0x0 0x20900000 0x100000>; | ||
|
||
timer@10000 { | ||
compatible = "rda,8810pl-timer"; | ||
reg = <0x10000 0x1000>; | ||
interrupts = <16 IRQ_TYPE_LEVEL_HIGH>, | ||
<17 IRQ_TYPE_LEVEL_HIGH>; | ||
interrupt-names = "hwtimer", "ostimer"; | ||
}; | ||
}; | ||
|
||
apb@20a00000 { | ||
compatible = "simple-bus"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
ranges = <0x0 0x20a00000 0x100000>; | ||
|
||
uart1: serial@0 { | ||
compatible = "rda,8810pl-uart"; | ||
reg = <0x0 0x1000>; | ||
interrupts = <9 IRQ_TYPE_LEVEL_HIGH>; | ||
status = "disabled"; | ||
}; | ||
|
||
uart2: serial@10000 { | ||
compatible = "rda,8810pl-uart"; | ||
reg = <0x10000 0x1000>; | ||
interrupts = <10 IRQ_TYPE_LEVEL_HIGH>; | ||
status = "disabled"; | ||
}; | ||
|
||
uart3: serial@90000 { | ||
compatible = "rda,8810pl-uart"; | ||
reg = <0x90000 0x1000>; | ||
interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; | ||
status = "disabled"; | ||
}; | ||
}; | ||
|
||
l2: cache-controller@21100000 { | ||
compatible = "arm,pl310-cache"; | ||
reg = <0x21100000 0x1000>; | ||
cache-unified; | ||
cache-level = <2>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
menuconfig ARCH_RDA | ||
bool "RDA Micro SoCs" | ||
depends on ARCH_MULTI_V7 | ||
select RDA_INTC | ||
select RDA_TIMER | ||
help | ||
This enables support for the RDA Micro 8810PL SoC family. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
obj- += dummy.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
obj-$(CONFIG_SMP) += platsmp.o headsmp.o | ||
obj-$(CONFIG_SMP) += platsmp.o | ||
obj-$(CONFIG_ARCH_STI) += board-dt.o |
Oops, something went wrong.