mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 19:45:06 +08:00
527d147074
We add device tree files for a couple of additional SoCs in various areas: Allwinner R40/V40 for entertainment, Broadcom Hurricane 2 for networking, Amlogic A113D for audio, and Renesas R-Car V3M for automotive. As usual, lots of new boards get added based on those and other SoCs: - Actions S500 based CubieBoard6 single-board computer - Amlogic Meson-AXG A113D based development board - Amlogic S912 based Khadas VIM2 single-board computer - Amlogic S912 based Tronsmart Vega S96 set-top-box - Allwinner H5 based NanoPi NEO Plus2 single-board computer - Allwinner R40 based Banana Pi M2 Ultra and Berry single-board computers - Allwinner A83T based TBS A711 Tablet - Broadcom Hurricane 2 based Ubiquiti UniFi Switch 8 - Broadcom bcm47xx based Luxul XAP-1440/XAP-810/ABR-4500/XBR-4500 wireless access points and routers - NXP i.MX51 based Zodiac Inflight Innovations RDU1 board - NXP i.MX53 based GE Healthcare PPD biometric monitor - NXP i.MX6 based Pistachio single-board computer - NXP i.MX6 based Vining-2000 automotive diagnostic interface - NXP i.MX6 based Ka-Ro TX6 Computer-on-Module in additional variants - Qualcomm MSM8974 (Snapdragon 800) based Fairphone 2 phone - Qualcomm MSM8974pro (Snapdragon 801) based Sony Xperia Z2 Tablet - Realtek RTD1295 based set-top-boxes MeLE V9 and PROBOX2 AVA - Renesas R-Car V3M (R8A77970) SoC and "Eagle" reference board - Renesas H3ULCB and M3ULCB "Kingfisher" extension infotainment boards - Renasas r8a7745 based iWave G22D-SODIMM SoM - Rockchip rk3288 based Amarula Vyasa single-board computer - Samsung Exynos5800 based Odroid HC1 single-board computer For existing SoC support, there was a lot of ongoing work, as usual most of that concentrated on the Renesas, Rockchip, OMAP, i.MX, Amlogic and Allwinner platforms, but others were also active. Rob Herring and many others worked on reducing the number of issues that the latest version of 'dtc' now warns about. Unfortunately there is still a lot left to do. A rework of the ARM foundation model introduced several new files for common variations of the model. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJaDhcfAAoJEGCrR//JCVIngu0QAI2ntVotaOAOaCurNCnoVwI1 j+eKwHGTawQRcSHWN8C+p4FzzaOmw+vvbOyewky8PWaDOCkK6yWEHRf3hb2la2jw j9prht28R1RAHIRPuah4SxKHYoT4VW9q/2hMHJ2BiNDOMX54xE7j2cUvWSsIRz5o id2QqKsp2OIDNQAXAA4N25FjdBCYvSik80panSdJITtJODIj6UfmcXSgqkoQ3TTV rwVyFtryl9Si3eyZYcfB2/0ILKuaMC8gl7IX9z+PkRqu9XN7i6bZKZlMMtpJqX3u Ad89kLkFqNhiwZ77bIoRRl+0NEoSu5hTPLHRqghS6gPfDY2JT6igf0rGC8twjfea fzGOBWr6NlIlUmR4smS0GyE/3YsfOQvYWjE+zx5qkmay30TORVTZBzsBR+kQJzKK tnbO1zvst1ECtk9e8np0di4NAo9rwM37dxpu4aspP1Umxw1K68VSNE3RhGl8UUwW oNvHa8hD8Ck0QDBNltrkmKBVoIYKRU3XhXrRXVjRQdu6Xitml0XYBi80V0h33EE3 162UXDEMu1/aqRRZUtKw7+yozT8fqOHjH8Zrv2zCVGg0HEwVohcWv/BPXbrg0abJ wXYS8VocZJP6Nb4FQMe+cRbBUHoBgBQqbsF60tWiYsjv0zoc5hogLWcZYqzDcIO6 06OBR3HgUW27urUn/JBu =TnSo -----END PGP SIGNATURE----- Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc Pull ARM device-tree updates from Arnd Bergmann: "We add device tree files for a couple of additional SoCs in various areas: Allwinner R40/V40 for entertainment, Broadcom Hurricane 2 for networking, Amlogic A113D for audio, and Renesas R-Car V3M for automotive. As usual, lots of new boards get added based on those and other SoCs: - Actions S500 based CubieBoard6 single-board computer - Amlogic Meson-AXG A113D based development board - Amlogic S912 based Khadas VIM2 single-board computer - Amlogic S912 based Tronsmart Vega S96 set-top-box - Allwinner H5 based NanoPi NEO Plus2 single-board computer - Allwinner R40 based Banana Pi M2 Ultra and Berry single-board computers - Allwinner A83T based TBS A711 Tablet - Broadcom Hurricane 2 based Ubiquiti UniFi Switch 8 - Broadcom bcm47xx based Luxul XAP-1440/XAP-810/ABR-4500/XBR-4500 wireless access points and routers - NXP i.MX51 based Zodiac Inflight Innovations RDU1 board - NXP i.MX53 based GE Healthcare PPD biometric monitor - NXP i.MX6 based Pistachio single-board computer - NXP i.MX6 based Vining-2000 automotive diagnostic interface - NXP i.MX6 based Ka-Ro TX6 Computer-on-Module in additional variants - Qualcomm MSM8974 (Snapdragon 800) based Fairphone 2 phone - Qualcomm MSM8974pro (Snapdragon 801) based Sony Xperia Z2 Tablet - Realtek RTD1295 based set-top-boxes MeLE V9 and PROBOX2 AVA - Renesas R-Car V3M (R8A77970) SoC and "Eagle" reference board - Renesas H3ULCB and M3ULCB "Kingfisher" extension infotainment boards - Renasas r8a7745 based iWave G22D-SODIMM SoM - Rockchip rk3288 based Amarula Vyasa single-board computer - Samsung Exynos5800 based Odroid HC1 single-board computer For existing SoC support, there was a lot of ongoing work, as usual most of that concentrated on the Renesas, Rockchip, OMAP, i.MX, Amlogic and Allwinner platforms, but others were also active. Rob Herring and many others worked on reducing the number of issues that the latest version of 'dtc' now warns about. Unfortunately there is still a lot left to do. A rework of the ARM foundation model introduced several new files for common variations of the model" * tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (599 commits) arm64: dts: uniphier: route on-board device IRQ to GPIO controller for PXs3 dt-bindings: bus: Add documentation for the Technologic Systems NBUS arm64: dts: actions: s900-bubblegum-96: Add fake uart5 clock ARM: dts: owl-s500: Add CubieBoard6 dt-bindings: arm: actions: Add CubieBoard6 ARM: dts: owl-s500-guitar-bb-rev-b: Add fake uart3 clock ARM: dts: owl-s500: Set power domains for CPU2 and CPU3 arm: dts: mt7623: remove unused compatible string for pio node arm: dts: mt7623: update usb related nodes arm: dts: mt7623: update crypto node ARM: dts: sun8i: a711: Enable USB OTG ARM: dts: sun8i: a711: Add regulator support ARM: dts: sun8i: a83t: bananapi-m3: Enable AP6212 WiFi on mmc1 ARM: dts: sun8i: a83t: cubietruck-plus: Enable AP6330 WiFi on mmc1 ARM: dts: sun8i: a83t: Move mmc1 pinctrl setting to dtsi file ARM: dts: sun8i: a83t: allwinner-h8homlet-v2: Add AXP818 regulator nodes ARM: dts: sun8i: a83t: bananapi-m3: Add AXP813 regulator nodes ARM: dts: sun8i: a83t: cubietruck-plus: Add AXP818 regulator nodes ARM: dts: sunxi: Add dtsi for AXP81x PMIC arm64: dts: allwinner: H5: Restore EMAC changes ...
244 lines
6.5 KiB
Plaintext
244 lines
6.5 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Device Tree for the ARM Integrator/AP platform
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/include/ "integrator.dtsi"
|
|
|
|
/ {
|
|
model = "ARM Integrator/AP";
|
|
compatible = "arm,integrator-ap";
|
|
dma-ranges = <0x80000000 0x0 0x80000000>;
|
|
|
|
cpus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
cpu@0 {
|
|
device_type = "cpu";
|
|
/*
|
|
* Since the board has pluggable CPU modules, we
|
|
* cannot define a proper compatible here. Let the
|
|
* boot loader fill in the apropriate compatible
|
|
* string if necessary.
|
|
*/
|
|
/* compatible = "arm,arm926ej-s"; */
|
|
reg = <0>;
|
|
/*
|
|
* The documentation in ARM DUI 0138E page 3-12 states
|
|
* that the maximum frequency for this clock is 200 MHz
|
|
* but painful trial-and-error has proved to me that it
|
|
* is actually just hanging the system above 71 MHz.
|
|
* Sad but true.
|
|
*/
|
|
/* kHz uV */
|
|
operating-points = <71000 0
|
|
66000 0
|
|
60000 0
|
|
48000 0
|
|
36000 0
|
|
24000 0
|
|
12000 0>;
|
|
clocks = <&cmosc>;
|
|
clock-names = "cpu";
|
|
clock-latency = <1000000>; /* 1 ms */
|
|
};
|
|
};
|
|
|
|
aliases {
|
|
arm,timer-primary = &timer2;
|
|
arm,timer-secondary = &timer1;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "root=/dev/ram0 console=ttyAM0,38400n8 earlyprintk";
|
|
};
|
|
|
|
/* 24 MHz chrystal on the Integrator/AP development board */
|
|
xtal24mhz: xtal24mhz@24M {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <24000000>;
|
|
};
|
|
|
|
pclk: pclk@0 {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-factor-clock";
|
|
clock-div = <1>;
|
|
clock-mult = <1>;
|
|
clocks = <&xtal24mhz>;
|
|
};
|
|
|
|
/* The UART clock is 14.74 MHz divided by an ICS525 */
|
|
uartclk: uartclk@14.74M {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <14745600>;
|
|
clocks = <&xtal24mhz>;
|
|
};
|
|
|
|
core-module@10000000 {
|
|
/* 24 MHz chrystal on the core module */
|
|
cm24mhz: cm24mhz@24M {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <24000000>;
|
|
};
|
|
|
|
/* Oscillator on the core module, clocks the CPU core */
|
|
cmosc: cmosc@24M {
|
|
compatible = "arm,syscon-icst525-integratorap-cm";
|
|
#clock-cells = <0>;
|
|
lock-offset = <0x14>;
|
|
vco-offset = <0x08>;
|
|
clocks = <&cm24mhz>;
|
|
};
|
|
|
|
/* Auxilary oscillator on the core module, 32.369MHz at boot */
|
|
auxosc: auxosc@24M {
|
|
compatible = "arm,syscon-icst525";
|
|
#clock-cells = <0>;
|
|
lock-offset = <0x14>;
|
|
vco-offset = <0x1c>;
|
|
clocks = <&cm24mhz>;
|
|
};
|
|
};
|
|
|
|
syscon {
|
|
compatible = "arm,integrator-ap-syscon", "syscon";
|
|
reg = <0x11000000 0x100>;
|
|
interrupt-parent = <&pic>;
|
|
/* These are the logical module IRQs */
|
|
interrupts = <9>, <10>, <11>, <12>;
|
|
|
|
/*
|
|
* SYSCLK clocks PCIv3 bridge, system controller and the
|
|
* logic modules.
|
|
*/
|
|
sysclk: apsys@24M {
|
|
compatible = "arm,syscon-icst525-integratorap-sys";
|
|
#clock-cells = <0>;
|
|
lock-offset = <0x1c>;
|
|
vco-offset = <0x04>;
|
|
clocks = <&xtal24mhz>;
|
|
};
|
|
|
|
/* One-bit control for the PCI bus clock (33 or 25 MHz) */
|
|
pciclk: pciclk@24M {
|
|
compatible = "arm,syscon-icst525-integratorap-pci";
|
|
#clock-cells = <0>;
|
|
lock-offset = <0x1c>;
|
|
vco-offset = <0x04>;
|
|
clocks = <&xtal24mhz>;
|
|
};
|
|
};
|
|
|
|
timer0: timer@13000000 {
|
|
compatible = "arm,integrator-timer";
|
|
clocks = <&xtal24mhz>;
|
|
};
|
|
|
|
timer1: timer@13000100 {
|
|
compatible = "arm,integrator-timer";
|
|
clocks = <&xtal24mhz>;
|
|
};
|
|
|
|
timer2: timer@13000200 {
|
|
compatible = "arm,integrator-timer";
|
|
clocks = <&xtal24mhz>;
|
|
};
|
|
|
|
pic: pic@14000000 {
|
|
valid-mask = <0x003fffff>;
|
|
};
|
|
|
|
pci: pciv3@62000000 {
|
|
compatible = "arm,integrator-ap-pci", "v3,v360epc-pci";
|
|
#interrupt-cells = <1>;
|
|
#size-cells = <2>;
|
|
#address-cells = <3>;
|
|
/* Bridge registers and config access space */
|
|
reg = <0x62000000 0x10000>, <0x61000000 0x01000000>;
|
|
interrupt-parent = <&pic>;
|
|
interrupts = <17>; /* Bus error IRQ */
|
|
clocks = <&pciclk>;
|
|
bus-range = <0x00 0xff>;
|
|
ranges = <0x01000000 0 0x0000000 /* I/O space @00000000 */
|
|
0x60000000 0 0x00010000 /* 64 KB @ LB 60000000 */
|
|
0x02000000 0 0x40000000 /* non-prefectable memory @40000000 */
|
|
0x40000000 0 0x10000000 /* 256 MiB @ LB 40000000 1:1 */
|
|
0x42000000 0 0x50000000 /* prefetchable memory @50000000 */
|
|
0x50000000 0 0x10000000>; /* 256 MiB @ LB 50000000 1:1 */
|
|
dma-ranges = <0x02000000 0 0x20000000 /* EBI memory space */
|
|
0x20000000 0 0x20000000 /* 512 MB @ LB 20000000 1:1 */
|
|
0x02000000 0 0x80000000 /* Core module alias memory */
|
|
0x80000000 0 0x40000000>; /* 1GB @ LB 80000000 */
|
|
interrupt-map-mask = <0xf800 0 0 0x7>;
|
|
interrupt-map = <
|
|
/* IDSEL 9 */
|
|
0x4800 0 0 1 &pic 13 /* INT A on slot 9 is irq 13 */
|
|
0x4800 0 0 2 &pic 14 /* INT B on slot 9 is irq 14 */
|
|
0x4800 0 0 3 &pic 15 /* INT C on slot 9 is irq 15 */
|
|
0x4800 0 0 4 &pic 16 /* INT D on slot 9 is irq 16 */
|
|
/* IDSEL 10 */
|
|
0x5000 0 0 1 &pic 14 /* INT A on slot 10 is irq 14 */
|
|
0x5000 0 0 2 &pic 15 /* INT B on slot 10 is irq 15 */
|
|
0x5000 0 0 3 &pic 16 /* INT C on slot 10 is irq 16 */
|
|
0x5000 0 0 4 &pic 13 /* INT D on slot 10 is irq 13 */
|
|
/* IDSEL 11 */
|
|
0x5800 0 0 1 &pic 15 /* INT A on slot 11 is irq 15 */
|
|
0x5800 0 0 2 &pic 16 /* INT B on slot 11 is irq 16 */
|
|
0x5800 0 0 3 &pic 13 /* INT C on slot 11 is irq 13 */
|
|
0x5800 0 0 4 &pic 14 /* INT D on slot 11 is irq 14 */
|
|
/* IDSEL 12 */
|
|
0x6000 0 0 1 &pic 16 /* INT A on slot 12 is irq 16 */
|
|
0x6000 0 0 2 &pic 13 /* INT B on slot 12 is irq 13 */
|
|
0x6000 0 0 3 &pic 14 /* INT C on slot 12 is irq 14 */
|
|
0x6000 0 0 4 &pic 15 /* INT D on slot 12 is irq 15 */
|
|
>;
|
|
};
|
|
|
|
fpga {
|
|
/*
|
|
* The Integator/AP predates the idea to have magic numbers
|
|
* identifying the PrimeCell in hardware, thus we have to
|
|
* supply these from the device tree.
|
|
*/
|
|
rtc: rtc@15000000 {
|
|
compatible = "arm,pl030", "arm,primecell";
|
|
arm,primecell-periphid = <0x00041030>;
|
|
clocks = <&pclk>;
|
|
clock-names = "apb_pclk";
|
|
};
|
|
|
|
uart0: uart@16000000 {
|
|
compatible = "arm,pl010", "arm,primecell";
|
|
arm,primecell-periphid = <0x00041010>;
|
|
clocks = <&uartclk>, <&pclk>;
|
|
clock-names = "uartclk", "apb_pclk";
|
|
};
|
|
|
|
uart1: uart@17000000 {
|
|
compatible = "arm,pl010", "arm,primecell";
|
|
arm,primecell-periphid = <0x00041010>;
|
|
clocks = <&uartclk>, <&pclk>;
|
|
clock-names = "uartclk", "apb_pclk";
|
|
};
|
|
|
|
kmi0: kmi@18000000 {
|
|
compatible = "arm,pl050", "arm,primecell";
|
|
arm,primecell-periphid = <0x00041050>;
|
|
clocks = <&xtal24mhz>, <&pclk>;
|
|
clock-names = "KMIREFCLK", "apb_pclk";
|
|
};
|
|
|
|
kmi1: kmi@19000000 {
|
|
compatible = "arm,pl050", "arm,primecell";
|
|
arm,primecell-periphid = <0x00041050>;
|
|
clocks = <&xtal24mhz>, <&pclk>;
|
|
clock-names = "KMIREFCLK", "apb_pclk";
|
|
};
|
|
};
|
|
};
|