aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/realtek
AgeCommit message (Collapse)AuthorFilesLines
2024-04-29Merge tag 'dt64-cleanup-6.10' of ↵Arnd Bergmann3-3/+3
https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt into soc/dt Minor improvements in ARM64 DTS for v6.10 Fixes, which might have practical impact, however things were broken for long enough to justify pushing it regular path: 1. ARM Juno: shorten node names for thermal zones, because Linux drivers have strict limit of 20 characters. 2. HiSilicon: correct size of GIC GICC address space and add missing GICH and GICV spaces, add cache info to properly describe cache topology and solve kernel boot warning. Several cleanups: 1. Use capital "OR" for multiple licenses in SPDX. 2. Correct white-spaces for code readability. 3. Fix W=1 dtc compiler warnings, which should not have practical impact for Amazon, APM, Cavium, Realtek, Socionext Uniphier and Spreadtrum like: - missing unit addresses, - nodes not belonging to soc node, - not using generic node names, - few incorrect unit addresses. * tag 'dt64-cleanup-6.10' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt: (28 commits) arm64: dts: cavium: thunder2-99xx: drop redundant reg-names arm64: dts: amazon: alpine-v3: correct gic unit addresses arm64: dts: amazon: alpine-v3: drop cache nodes unit addresses arm64: dts: amazon: alpine-v3: add missing io-fabric unit addresses arm64: dts: amazon: alpine-v2: move non-MMIO node out of soc arm64: dts: amazon: alpine-v2: add missing io-fabric unit addresses arm64: dts: apm: shadowcat: move non-MMIO node out of soc arm64: dts: apm: storm: move non-MMIO node out of soc arm64: dts: cavium: correct unit addresses arm64: dts: cavium: move non-MMIO node out of soc arm64: dts: realtek: rtc16xx: add missing unit address to soc node arm64: dts: realtek: rtd139x: add missing unit address to soc node arm64: dts: realtek: rtd129x: add missing unit address to soc node arm64: dts: uniphier: ld20-global: drop audio codec port unit address arm64: dts: uniphier: ld20-global: use generic node name for audio-codec arm64: dts: uniphier: ld11-global: drop audio codec port unit address arm64: dts: uniphier: ld11-global: use generic node name for audio-codec arm64: dts: sharkl3: add missing unit addresses arm64: dts: whale2: add missing ap-apb unit address arm64: dts: sc9860: move GIC to soc node ... Signed-off-by: Arnd Bergmann <[email protected]>
2024-04-29arm/arm64: dts: Drop "arm,armv8-pmuv3" compatible usageRob Herring1-1/+1
The "arm,armv8-pmuv3" compatible is intended only for s/w models. Primarily, it doesn't provide any detail on uarch specific events. There's still remaining cases for CPUs without any corresponding PMU definition and for big.LITTLE systems which only have a single PMU node (there should be one per core type). Signed-off-by: Rob Herring (Arm) <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: Jisheng Zhang <[email protected]> Acked-by: Sudeep Holla <[email protected]> Acked-by: Dinh Nguyen <[email protected]> Acked-by: Heiko Stuebner <[email protected]> Acked-by: Bjorn Andersson <[email protected]> Acked-by: Florian Fainelli <[email protected]> Acked-by: Alim Akhtar <[email protected]> Acked-by: Thierry Reding <[email protected]> Acked-by: Shawn Guo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2024-04-24arm64: dts: realtek: rtc16xx: add missing unit address to soc nodeKrzysztof Kozlowski1-1/+1
"soc" node has "ranges" property thus add matching unit address to fix dtc W=1 warnings: rtd16xx.dtsi:130.6-198.4: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2024-04-24arm64: dts: realtek: rtd139x: add missing unit address to soc nodeKrzysztof Kozlowski1-1/+1
"soc" node has "ranges" property thus add matching unit address to fix dtc W=1 warnings: rtd139x.dtsi:50.6-120.4: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2024-04-24arm64: dts: realtek: rtd129x: add missing unit address to soc nodeKrzysztof Kozlowski1-1/+1
"soc" node has "ranges" property thus add matching unit address to fix dtc W=1 warnings: rtd129x.dtsi:51.6-122.4: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2023-05-16arm64: dts: realtek: add missing cache propertiesKrzysztof Kozlowski5-0/+12
As all level 2 and level 3 caches are unified, add required cache-unified and cache-level properties to fix warnings like: rtd1293-ds418j.dtb: l2-cache: 'cache-level' is a required property rtd1293-ds418j.dtb: l2-cache: 'cache-unified' is a required property Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
2023-01-27arm64: dts: realtek: align UART node name with bindingsKrzysztof Kozlowski1-3/+3
Bindings expect UART/serial node names to be "serial". Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
2020-04-12arm64: dts: realtek: rtd16xx: Add SB2 and SCPU Wrapper syscon nodesAndreas Färber1-0/+18
Add syscon mfd nodes for SB2 and SCPU Wrapper to RTD16xx DT. Acked-by: James Tai <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: rtd139x: Add SB2 and SCPU Wrapper syscon nodesAndreas Färber1-0/+18
Add syscon mfd nodes for SB2 and SCPU Wrapper to RTD139x DT. Acked-by: James Tai <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: rtd129x: Add SB2 and SCPU Wrapper syscon nodesAndreas Färber1-0/+18
Add syscon mfd nodes for SB2 and SCPU Wrapper to RTD129x DT. Acked-by: James Tai <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: rtd16xx: Add CRT syscon nodeAndreas Färber1-0/+9
Prepare a CRT syscon mfd node. Acked-by: James Tai <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: rtd16xx: Introduce iso and misc sysconAndreas Färber1-24/+46
Group UART0 into an Isolation syscon mfd node. Group UART1 and UART2 into a Miscellaneous syscon mfd node. Acked-by: James Tai <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: rtd139x: Introduce CRT, iso and misc sysconAndreas Färber1-57/+90
Group the non-iso reset controller nodes into a CRT syscon mfd node. Group reset controller, watchdog and UART0 into an Isolation mfd node. Group UART1 and UART2 into a Miscellaneous syscon mfd node. Acked-by: James Tai <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: rtd129x: Introduce CRT, iso and misc sysconAndreas Färber1-57/+90
Group the non-iso reset controller nodes in a CRT syscon mfd node. Group reset controller, watchdog and UART0 in an Isolation syscon mfd node. Group UART1 and UART2 into a Miscellaneous syscon mfd node. Acked-by: James Tai <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: rtd1295: Add Xnano X5Andreas Färber2-0/+31
The Xnano X5 is an OTT TV Box. Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: rtd16xx: Add memory reservationsAndreas Färber1-0/+19
Reserve memory regions for RPC and TEE. Fixes: d8a6c3b34276 ("arm64: dts: realtek: Add RTD1619 SoC and Realtek Mjolnir EVB") Acked-by: James Tai <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: rtd16xx: Carve out boot ROM from memoryAndreas Färber2-3/+6
Update Mjolnir /memory node to exclude 0..0x2dfff from reg entry. Add this region to /soc ranges instead. Fixes: d8a6c3b34276 ("arm64: dts: realtek: Add RTD1619 SoC and Realtek Mjolnir EVB") Suggested-by: Rob Herring <[email protected]> Cc: James Tai <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: Add RTD1619 SoC and Realtek Mjolnir EVBJames Tai4-0/+216
Add Device Trees for Realtek RTD1619 SoC family, RTD1619 SoC and Realtek Mjolnir EVB. Signed-off-by: James Tai <[email protected]> [AF: Renamed r-bus node, modified UART comments, style cleanups] Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: rtd1395: Add Realtek Lion Skin EVBAndreas Färber2-0/+37
Add a Device Tree for Realtek RTD1395 SoC Lion Skin evaluation board. Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: Add RTD1395 and BPi-M4Andreas Färber4-0/+239
Add Device Trees for Realtek RTD1395 SoC and Banana Pi BPi-M4 SBC. For now reuse RTD1295 reset constants. Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: rtd129x: Carve out boot ROM from memoryAndreas Färber6-17/+18
Update DS418j, MeLE V9, PROBOX2 AVA, Zidoo X9S and DS418 /memory nodes to exclude 0..0x1efff from reg entry and update unit address to match. Add this region to /soc ranges and for now just update the /memreserve/s. Suggested-by: Rob Herring <[email protected]> Fixes: 72a7786c0a0d ("ARM64: dts: Add Realtek RTD1295 and Zidoo X9S") Fixes: d938a964a966 ("arm64: dts: realtek: Add ProBox2 Ava") Fixes: a9ce6f854581 ("arm64: dts: realtek: Add MeLE V9") Fixes: cf976f660ee8 ("arm64: dts: realtek: Add RTD1293 and Synology DS418j") Fixes: 5133636e41a2 ("arm64: dts: realtek: Add RTD1296 and Synology DS418") Cc: James Tai <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: rtd129x: Introduce r-busAndreas Färber1-64/+72
Model Realtek's register bus in DT. Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: rtd129x: Use reserved-memory for RPC regionsAndreas Färber2-15/+21
Move /reserved-memory node from RTD1295 to RTD129x DT. Convert RPC /memreserve/s into /reserved-memory nodes. Fixes: 72a7786c0a0d ("ARM64: dts: Add Realtek RTD1295 and Zidoo X9S") Fixes: f8b3436dad5c ("arm64: dts: realtek: Factor out common RTD129x parts") Signed-off-by: Andreas Färber <[email protected]>
2020-04-12arm64: dts: realtek: rtd129x: Fix GIC CPU masks for RTD1293Andreas Färber3-12/+16
Convert from GIC_CPU_MASK_RAW() to GIC_CPU_MASK_SIMPLE(). In case of RTD1293 adjust the arch timer and VGIC interrupts' CPU masks to its smaller number of CPUs. Fixes: cf976f660ee8 ("arm64: dts: realtek: Add RTD1293 and Synology DS418j") Signed-off-by: Andreas Färber <[email protected]>
2019-10-29arm64: dts: realtek: Add RTD129x UART resetsAndreas Färber1-0/+4
Associate the UART nodes with the corresponding reset controller bits. Signed-off-by: Andreas Färber <[email protected]>
2019-10-29arm64: dts: realtek: Add RTD129x reset controller nodesAndreas Färber1-0/+30
Add nodes for the Realtek RTD1295 reset controllers. Signed-off-by: Andreas Färber <[email protected]>
2019-10-29arm64: dts: realtek: Add watchdog node for RTD129xAndreas Färber1-0/+6
Add the watchdog node to the RTD129x Device Tree. Acked-by: Rob Herring <[email protected]> Acked-by: Guenter Roeck <[email protected]> [AF: Moved from RTD1295 to new RTD129x] Signed-off-by: Andreas Färber <[email protected]>
2019-10-29arm64: dts: realtek: Add oscillator for RTD129xAndreas Färber1-0/+7
Add 27 MHz oscillator clock node. Signed-off-by: Andreas Färber <[email protected]>
2019-10-29arm64: dts: realtek: Add RTD1296 and Synology DS418Andreas Färber3-0/+97
Add Device Trees for RTD1296 SoC and Synology DiskStation DS418. Cc: [email protected] Signed-off-by: Andreas Färber <[email protected]>
2019-10-29arm64: dts: realtek: Add RTD1293 and Synology DS418jAndreas Färber3-0/+84
Add Device Trees for RTD1293 SoC and Synology DiskStation DS418j NAS. Cc: [email protected] Signed-off-by: Andreas Färber <[email protected]>
2019-10-29arm64: dts: realtek: Change dual-license from MIT to BSDAndreas Färber3-6/+3
Move the SPDX-License-Identifier to the top line and update to SPDX 2.0. While at it, switch from GPLv2+/MIT to GPLv2+/BSD2c before adding more. Acked-by: Rob Herring <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
Add SPDX license identifiers to all Make/Kconfig files which: - Have no license information of any form These files fall under the project license, GPL v2 only. The resulting SPDX license identifier is: GPL-2.0-only Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2019-01-30arm64: dts: Remove inconsistent use of 'arm,armv8' compatible stringRob Herring1-4/+4
The 'arm,armv8' compatible string is only for software models. It adds little value otherwise and is inconsistently used as a fallback on some platforms. Remove it from those platforms. This fixes warnings generated by the DT schema. Reported-by: Michal Simek <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Will Deacon <[email protected]> Acked-by: Antoine Tenart <[email protected]> Acked-by: Nishanth Menon <[email protected]> Acked-by: Maxime Ripard <[email protected]> Acked-by: Manivannan Sadhasivam <[email protected]> Acked-by: Chanho Min <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Acked-by: Masahiro Yamada <[email protected]> Acked-by: Gregory CLEMENT <[email protected]> Acked-by: Thierry Reding <[email protected]> Acked-by: Heiko Stuebner <[email protected]> Acked-by: Simon Horman <[email protected]> Acked-by: Tero Kristo <[email protected]> Acked-by: Wei Xu <[email protected]> Acked-by: Liviu Dudau <[email protected]> Acked-by: Matthias Brugger <[email protected]> Acked-by: Michal Simek <[email protected]> Acked-by: Scott Branden <[email protected]> Acked-by: Kevin Hilman <[email protected]> Acked-by: Chunyan Zhang <[email protected]> Acked-by: Robert Richter <[email protected]> Acked-by: Jisheng Zhang <[email protected]> Acked-by: Dinh Nguyen <[email protected]> Signed-off-by: Rob Herring <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
2017-11-16Merge tag 'armsoc-dt' of ↵Linus Torvalds6-64/+140
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 ...
2017-11-09kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.libMasahiro Yamada1-3/+0
If CONFIG_OF_ALL_DTBS is enabled, "make ARCH=arm64 dtbs" compiles each DTB twice; one from arch/arm64/boot/dts/*/Makefile and the other from the dtb-$(CONFIG_OF_ALL_DTBS) line in arch/arm64/boot/dts/Makefile. It could be a race problem when building DTBS in parallel. Another minor issue is CONFIG_OF_ALL_DTBS covers only *.dts in vendor sub-directories, so this broke when Broadcom added one more hierarchy in arch/arm64/boot/dts/broadcom/<soc>/. One idea to fix the issues in a clean way is to move DTB handling to Kbuild core scripts. Makefile.dtbinst already recognizes dtb-y natively, so it should not hurt to do so. Add $(dtb-y) to extra-y, and $(dtb-) as well if CONFIG_OF_ALL_DTBS is enabled. All clutter things in Makefiles go away. As a bonus clean-up, I also removed dts-dirs. Just use subdir-y directly to traverse sub-directories. Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Arnd Bergmann <[email protected]> [robh: corrected BUILTIN_DTB to CONFIG_BUILTIN_DTB] Signed-off-by: Rob Herring <[email protected]>
2017-11-08kbuild: clean up *.dtb and *.dtb.S patterns from top-level MakefileMasahiro Yamada1-1/+0
We need to add "clean-files" in Makfiles to clean up DT blobs, but we often miss to do so. Since there are no source files that end with .dtb or .dtb.S, so we can clean-up those files from the top-level Makefile. Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Rob Herring <[email protected]>
2017-10-26arm64: dts: realtek: Add MeLE V9Andreas Färber2-0/+32
Add an initial Device Tree for MeLE V9 Media Player. Cc: [email protected] Signed-off-by: Andreas Färber <[email protected]>
2017-10-26arm64: dts: realtek: Factor out common RTD129x partsAndreas Färber2-61/+76
Prepares for RTD1293 and RTD1296. Signed-off-by: Andreas Färber <[email protected]>
2017-10-15arm64: dts: realtek: Add ProBox2 AvaAndreas Färber4-6/+38
Add a Device Tree for the PROBOX2 AVA TV Box. Move common memory reservations into rtd1295.dtsi. Cc: [email protected] Signed-off-by: Andreas Färber <[email protected]>
2017-09-19arm64: dts: realtek: Clean up RTD1295 UART reg propertyAndreas Färber1-6/+3
The downstream RTD1195 and apparently RTD1295 trees have a modified 8250 serial driver that acknowledges its interrupts using the second reg area, which is an irq mux. Drop these unused second reg entries for the UART nodes. Fixes: 72a7786c0a0d ("ARM64: dts: Add Realtek RTD1295 and Zidoo X9S") Signed-off-by: Andreas Färber <[email protected]>
2017-05-25ARM64: dts: Add Realtek RTD1295 and Zidoo X9SAndreas Färber3-0/+178
Add initial device trees for the RTD1295 SoC and the Zidoo X9S TV box. The CPUs lack the enable-method property because the vendor device tree uses a custom "rtk-spin-table" method and "psci" did not appear to work. The UARTs lack the interrupts properties because the vendor device tree connects them to a custom interrupt controller. earlycon works without. A list of memory reservations is adopted from v1.2.11 vendor device tree: 0x02200000 can be used for an initrd, 0x01b00000 is audio-related; ion-related 0x02600000, 0x02c00000 and 0x11000000 are left out; 0x10000000 is used for sharing the U-Boot environment; others remain to be investigated. Acked-by: Arnd Bergmann <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Andreas Färber <[email protected]>