summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-12-09Merge tag 'qcom-arm64-for-5.11' of ↵Arnd Bergmann46-217/+3899
git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into arm/dt Qualcomm ARM64 DT updates for 5.11 For SM8250 the recently introduced support for handling boot-loader stream mappings in the ARM SMMU allow us to enable this, and thereby USB controller and PHY, SDHCI controller and FastRPC, as well as support for the SM8250 HDK board has been added. Additionally PRNG and RTC is enabled. Similarly for SM8150, the ARM SMMU could be added which allows the secondary USB controller and PHYs, as well as WiFi to be added and support for the SM8150 HDK board to be introduced. Additionally Coresight and support for the last-level cache controller was added. MSM8916 finally has VDDCX and VDDMX removed as regulators and are now handled by the rpmpd driver for the devices controlling them. The Longsheer L8150 gains touchscreen, sensors, vibrator and LED support. MSM8992 gains USB and SDHCI support as well as an I2C controller and the associated RMI4 based touchscreen for the Lumia 950. MSM8994 also gains USB and SDHCI support, as well as VADC and temp-alarm support. Then support for the Lumia 950 XL is added. SDM845 gains interconnect properties for a number of devices and the GENI wrappers gains iommu stream configuration, which means DMA operations on e.g. I2C now works. The Lenovo Yoga C630 finally has the SMMU enabled, a few fixes and the description of the eDP bridge and panel means that the laptop can now boot mainline with working display, GPU, WiFi and audio. SC7180 gains a slew of smaller improvements and fixes. * tag 'qcom-arm64-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (93 commits) arm64: dts: qcom: c630: Define eDP bridge and panel arm64: dts: qcom: c630: Fix pinctrl pins properties arm64: dts: qcom: c630: Polish i2c-hid devices arm64: dts: qcom: sc7180: Add lpass cpu node for I2S driver arm64: dts: sdm845: Add interconnect properties for QUP interconnect: qcom: sdm845: Add the missing nodes for QUP dt-bindings: interconnect: sdm845: Add IDs for the QUP ports arm64: dts: qcom: c630: Expose LID events arm64: dts: qcom: c630: Re-enable apps_smmu dts: qcom: sdm845: Add dt entries to support crypto engine. arm64: dts: qcom: qrb5165-rb5: Add support for MCP2518FD arm64: dts: qcom: sdm845: use GIC_SPI for IPA interrupts arm64: dts: qcom: sc7180: use GIC_SPI for IPA interrupts arm64: dts: qcom: sc7180: limit IPA iommu streams arm64: dts: qcom: sm8150: Add Coresight support arm64: dts: qcom: sc7180-trogdor: Make pp3300_a the default supply for pp3300_hub arm64: dts: qcom: sc7180: Add DDR/L3 votes for the pro variant arm64: dts: qcom: sc7180-lite: Tweak DDR/L3 scaling on SC7180-lite arm64: dts: qcom: sc7180-trogdor: add "pen-insert" label for trogdor arm64: qcom: sc7180: trogdor: Add ADC nodes and thermal zone for charger thermistor ... Link: https://lore.kernel.org/r/20201130190131.345187-1-bjorn.andersson@linaro.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-12-09Merge tag 'ti-k3-dt-for-v5.11' of ↵Arnd Bergmann11-75/+682
git://git.kernel.org/pub/scm/linux/kernel/git/nmenon/linux into arm/dt Devicetree changes for TI K3 platforms for v5.11 merge window: - Standardized usage of "disabled" only in board.dts files, #interrupt-cells warning fixups, node format error fixes - J721E: R5F support, MMC/SD UHS mode added - AM654: R5F support, dss marked coherent, drop unused dma-ring-reset-quirk property - J7200: ADC support, Mailbox, hwspinlock * tag 'ti-k3-dt-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/nmenon/linux: (25 commits) arm64: dts: ti: k3-j721e-common-proc-board: Add support for SD card UHS modes arm64: dts: ti: k3-j721e-main: Add output tap delay values arm64: dts: ti: k3: squelch warning about lack of #interrupt-cells arm64: dts: ti: k3-j7200-common-proc-board: Correct the name of io expander on main_i2c1 arm64: dts: ti: k3-j7200-som-p0: main_i2c0 have an ioexpander on the SOM arm64: dts: ti: k3-j7200-som-p0: Add IPC sub-mailbox nodes arm64: dts: ti: k3-j7200-main: Add mailbox cluster nodes arm64: dts: ti: k3-j7200-main: Add hwspinlock node arm64: dts: ti: am65/j721e/j7200: Mark firmware used uart as "reserved" arm64: dts: ti: k3-am654-base-board: Fix up un-necessary status set to "okay" for USB arm64: dts: ti: am65/j721e: Fix up un-necessary status set to "okay" for crypto arm64: dts: ti: k3-j721e*: Cleanup disabled nodes at SoC dtsi level arm64: dts: ti: k3-am65*: Cleanup disabled nodes at SoC dtsi level arm64: dts: ti: k3-j7200-mcu-wakeup: Enable ADC support arm64: dts: ti: k3-am65*/j721e*: Fix unit address format error for dss node arm64: dts: ti: k3-j721e-som-p0: Add DDR carveout memory nodes for R5Fs arm64: dts: ti: k3-j721e-som-p0: Add mailboxes to R5Fs arm64: dts: ti: k3-j721e-main: Add MAIN domain R5F cluster nodes arm64: dts: ti: k3-j721e-mcu: Add MCU domain R5F cluster node arm64: dts: ti: k3-am654-base-board: Reserve memory for IPC between R5F cores ... Link: https://lore.kernel.org/r/20201130174258.ljsiokkyr7x7tsbd@covenant Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-12-09Merge tag 'mvebu-dt64-5.11-1' of ↵Arnd Bergmann12-79/+775
git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu into arm/dt mvebu dt64 for 5.11 (part 1) - Add support for IEI Puzzle-M801 board (Armada 8040 based) - Add support ESPRESSObin-Ultra (Armada 3720 based) - Clean-up and improve espressobin device tree - Switch to per-port SATA interrupts on CP110 based SoC - Use compliant node name for USB3 on CP110 based SoC - Add heartbeat LED on mcbin singleshot - Disable SMMU by default for Armada 7040 and 8040 to continued supporting custom bot firmware - Turris mox: - add 3W power capability to SFP cage - update ethernet-phy handle name * tag 'mvebu-dt64-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu: arm64: dts: armada-3720-turris-mox: add 3W power capability to SFP cage arm64: dts: marvell: keep SMMU disabled by default for Armada 7040 and 8040 arm64: dts: mcbin-singleshot: add heartbeat LED arm64: dts: marvell: cp11x: Harmonize xHCI DT nodes name arm64: dts: marvell: espressobin: Update link to V7 schematic arm64: dts: armada-3720-turris-mox: update ethernet-phy handle name arm64: dts: marvell: armada-cp110: Switch to per-port SATA interrupts arm64: dts: marvell: add DT for ESPRESSObin-Ultra arm64: dts: marvell: espressobin: Add support for LED2 arm64: dts: marvell: Add a device tree for the IEI Puzzle-M801 board arm64: dts: marvell: espressobin: De-duplicate eMMC definitions arm64: dts: marvell: espressobin: Get rid of duplicate serial aliases arm64: dts: marvell: espressobin: Simplify v7 ethernet port labeling Link: https://lore.kernel.org/r/87eekaj0i4.fsf@BL-laptop Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-12-09Merge tag 'mvebu-dt-5.11-1' of ↵Arnd Bergmann26-33/+810
git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu into arm/dt mvebu dt for 5.11 (part 1) - Add support for MikroTik CRS3xx switches - Add support for RD-AC3X-48G4X2XL board : Armada 382 SoC connected to Prestera AC3X ASIC through PCI - Clean-up kirkwood device tree: replace "ok" by "okay" - Improve device tree for PCA953x gpio expander nodes - Use compliant node name for USB3 on armada 375 - 98dx3236 SoCs: - remove non-existent i2c1 - add i2c0 pinctrl information - Improve device tree for Turris Omnia * tag 'mvebu-dt-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu: ARM: dts: mvebu: Add device tree for RD-AC3X-48G4X2XL board arm: dts: marvell: armada-375: Harmonize DWC USB3 DT nodes name ARM: dts: turris-omnia: remove unneeded status = "okay" properties ARM: dts: turris-omnia: update ethernet-phy node and handle name ARM: dts: turris-omnia: add LED controller node ARM: dts: turris-omnia: add SFP node ARM: dts: turris-omnia: describe switch interrupt ARM: dts: turris-omnia: add comphy handle to eth2 ARM: dts: turris-omnia: enable HW buffer management ARM: dts: Add i2c0 pinctrl information for 98dx3236 ARM: dts: Remove non-existent i2c1 from 98dx3236 ARM: dts: armada: align GPIO hog names with dtschema ARM: dts: dove: fix PCA95xx GPIO expander properties on A510 ARM: dts: kirkwood: replace status value "ok" by "okay" ARM: dts: mvebu: Add CRS328-4C-20S-4S board ARM: dts: mvebu: Add CRS305-1G-4S board ARM: dts: mvebu: Add CRS326-24G-2S board Link: https://lore.kernel.org/r/87h7p6j0m7.fsf@BL-laptop Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-12-09Merge tag 'nuvoton-5.11-devicetree' of ↵Arnd Bergmann11-21/+4863
git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc into arm/dt Nuvoton device tree updates for 5.11 - New machines * Fii Kudo, a NPCM730 BMC * Quanta GSJ, a NPCM750 BMC * Qanta Olympus RunBMC, a NPCM750 BMC - Updates to the common device trees and NCPM750 EVB * tag 'nuvoton-5.11-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc: dt-bindings: vendor-prefixes: Add FII ARM: dts: nuvoton: Add Fii Kudo system ARM: dts: nuvoton: Add NPCM7xx RunBMC Olympus Quanta machine ARM: dts: nuvoton: Add Quanta GSJ BMC ARM: dts: nuvoton: Add Quanta GSJ BMC pinctrl ARM: dts: nuvoton: Add Nuvoton NPCM730 device tree ARM: dts: nuvoton: Add new device nodes to NPCM750 EVB ARM: dts: nuvoton: Add new device nodes ARM: dts: nuvoton: Add pinctrl and GPIO node ARM: dts: nuvoton: Modify timer register size ARM: dts: nuvoton: Modify clock parameters Link: https://lore.kernel.org/r/CACPK8Xd8RaLv_p6t9ckBwCwtZww+2YYOAoAYQdvni0dxc2mS7A@mail.gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-12-09Merge tag 'v5.10-next-dts64' of ↵Arnd Bergmann20-71/+2638
git://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux into arm/dt mt8173: - add new power domain controller node mt8183: - add new power domain controller - add display, iommu and dsi nodes mt8192: - add basic support, pinctrl, uart, spi, i2c and timer mt8516: - add auxadc, efuse and usb nodes mt8167: - add basic support for the SoC - add support for the pumkin board mt6779: - add initial support, interrupt controller, clocks, uart mt7622: - PWM node for all available PWM channels * tag 'v5.10-next-dts64' of git://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux: (25 commits) dts64: mt7622: disable spi1 and uart2 because pins are used by pwm dts64: mt7622: enable all pwm for bananapi r64 arm64: dts: mt8183: Add display nodes for MT8183 arm64: dts: mt8183: Add iommu and larb nodes arm64: dts: mt8183: Add dsi node arm64: dts: mt8183: Add pwm and backlight node arm64: dts: mediatek: Add mt8183 power domains controller arm64: dts: mediatek: Add smi_common node for MT8183 arm64: dts: mediatek: Add mt8173 power domain controller dt-bindings: power: Add MT8192 power domains dt-bindings: power: Add MT8183 power domains dt-bindings: power: Add bindings for the Mediatek SCPSYS power domains controller arm64: dts: Add Mediatek SoC MT8192 and evaluation board dts and Makefile arm64: dts: mediatek: add MT8167 pumpkin board dts arm64: dts: mediatek: add dtsi for MT8167 dt-bindings: arm64: dts: mediatek: Add mt8167-pumpkin board arm64: dts: mediatek: mt8516: add efuse node arm64: dts: mediatek: align GPIO hog names with dtschema arm64: dts: mediatek: mt8516: add usb1 node arm64: dts: mediatek: mt8516: rename usb phy ... Link: https://lore.kernel.org/r/72fe1c4f-f27c-c455-dfd9-66bde90bb295@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-12-09Merge tag 'arm-soc/for-5.11/devicetree-arm64' of ↵Arnd Bergmann7-0/+303
https://github.com/Broadcom/stblinux into arm/dt This pull request contains Broadcom ARM64-based SoCs Device Tree changes for 5.11, please pull the following: - Rafal adds initial support for the Broadcom 4908 which are SoCs used in home routers and are based on the DSL architecture and using Broadcom Brahma-B53 CPUs. * tag 'arm-soc/for-5.11/devicetree-arm64' of https://github.com/Broadcom/stblinux: arm64: add config for Broadcom BCM4908 SoCs arm64: dts: broadcom: add BCM4908 and Asus GT-AC5300 early DTS files dt-bindings: arm: bcm: document BCM4908 bindings Link: https://lore.kernel.org/r/20201128163410.1691529-4-f.fainelli@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-12-09Merge tag 'arm-soc/for-5.11/devicetree' of ↵Arnd Bergmann34-283/+405
https://github.com/Broadcom/stblinux into arm/dt This pull request contains Broadcom ARM-based SoCs changes for 5.11, please pull the following: - Vivek updates the Linksys EA9500 DTS by adding the two additional switch port nodes (5 & 7), providing a flash partition layout to make the device usable with OpenWrt, and finally switches to using the pin controller rather than using mdio-mux to get the same outcome. - Serge fixes the USB Device Tree nodes unit name to be conformant to the recommended name patterns. - Rafal re-arranges all the nodes that belonged to the CRU block to be under the CRU node (such as PLLs). He also disables the USB3 PHY node for devices that lack USB3 and adds USB3 support to the Luxul XWR-3150 DTS. - Jonathan drops the incorrect 'io-channel-ranges' from the Cygnus SoC DTSI. - Maxime disables the Wi-Fi frequencies (around 2.4GHz) for HDMI on the Raspberry Pi 4 due to some cross-talk between the two blocks. - Pavel updates the DWC2 USB controller RX FIFO sizes to be more accurate for all BCM283x (Raspberr Pi) SoCs. - Florian updates all BCM5301x and NSP Device Tree files to allow switching the Broadcom B53 Ethernet switch device tree binding to YAML. * tag 'arm-soc/for-5.11/devicetree' of https://github.com/Broadcom/stblinux: (22 commits) dt-bindings: net: dsa: b53: Add YAML bindings ARM: dts: NSP: Provide defaults ports container node ARM: dts: NSP: Add a SRAB compatible string for each board ARM: dts: NSP: Fix Ethernet switch SGMII register name ARM: dts: NSP: Update ethernet switch node name ARM: dts: BCM5301X: Provide defaults ports container node ARM: dts: BCM5301X: Add a default compatible for switch node ARM: dts: BCM5301X: Update Ethernet switch node name dt-bindings: net: dsa: Document sfp and managed properties dt-bindings: net: dsa: Extend switch nodes pattern ARM: dts: bcm283x: increase dwc2's RX FIFO size ARM: dts: rpi-4: disable wifi frequencies ARM: dts: Cygnus: Drop incorrect io-channel-ranges property. ARM: dts: BCM5301X: Enable USB 3 PHY on Luxul XWR-3150 ARM: dts: BCM5301X: Disable USB 3 PHY on devices without USB 3 ARM: dts: BCM5301X: Move CRU devices to the CRU node ARM: dts: BCM5301X: Linksys EA9500 make use of pinctrl ARM: dts: BCM5301X: Use corretc pinctrl compatible for 4709x ARM: dts: BCM5301X: Linksys EA9500 add fixed partitions ARM: dts: BCM5310X: Harmonize xHCI DT nodes name ... Link: https://lore.kernel.org/r/20201128163410.1691529-3-f.fainelli@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-12-09Merge tag 'sunxi-dt-for-5.11' of ↵Arnd Bergmann18-9/+570
git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into arm/dt Our usual bunch of patches to support the Allwinner SoCs, this time adding: - Some nice pinephone additions - I2S support for the A64, H3, H5 and H6 - New boards: Elimo Impetus, Elimo Initium, FriendlyArm ZeroPi, NanoPi R1 * tag 'sunxi-dt-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: (21 commits) ARM: dts: sun8i-h2-plus-bananapi-m2-zero: add gpio-line-names ARM: dts: sun8i: h3: Add initial NanoPi R1 support arm64: dts: allwinner: pinephone: Use generic sensor node names ARM: dts: sun8i: s3: Add dts for the Elimo Initium SBC dt-bindings: arm: sunxi: add Elimo bindings ARM: dts: sun8i: s3: Add dtsi for the Elimo Impetus SoM arm64: dts: allwinner: pinephone: Add Bluetooth support arm64: dts: allwinner: pinephone: Add WiFi support arm64: dts: allwinner: pinephone: Add light/proximity sensor arm64: dts: allwinner: pinephone: Add LED flash arm64: dts: allwinner: pinephone: Set ALDO3 to exactly 3v0 arm64: dts: allwinner: pinephone: Remove AC power supply arm: dts: sunxi: h3/h5: Add I2S2 node arm64: dts: allwinner: a64: Add I2S2 node arm64: dts: allwinner: h6: Add I2S1 node arm64: dts: allwinner: h6: PineH64 model B: Add wifi ARM: dts: sun8i-v3s: Add I2C1 PB pins description ARM: dts: sun8i: V3/S3: Add UART1 pin definitions to the V3/S3 dtsi dt-bindings: vendors: add Elimo Engineering vendor prefix ARM: dts: sun8i: add FriendlyArm ZeroPi support ... Link: https://lore.kernel.org/r/551fdf4f-8a0b-4a22-ba49-b4f61520a9ab.lettre@localhost Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-12-09Merge tag 'at91-dt-5.11' of ↵Arnd Bergmann12-41/+62
git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into arm/dt AT91 DT for 5.11: - fix USB host pinctrl - fix DT schema warnings * tag 'at91-dt-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux: ARM: dts: at91: sama5d3_xplained: add pincontrol for USB Host ARM: dts: at91: sama5d4_xplained: add pincontrol for USB Host ARM: dts: at91: sam9x60: add pincontrol for USB Host ARM: dts: at91: at91-sama5d27_som1: fix EEPROM compatible ARM: dts: at91: Fix schema warnings for pwm-leds ARM: dts: at91: smartkiz: Reference led node directly Link: https://lore.kernel.org/r/20201127220403.GA1735041@piout.net Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-11-30arm64: dts: qcom: c630: Define eDP bridge and panelBjorn Andersson1-0/+100
The Lenovo Yoga C630 drives the Boe NV133FHM-N61 eDP display from DSI using a TI SN65DSI86 bridge chip on I2C 10. Define the bridge and eDP panel and enable the display blocks. Tested-by: Steev Klimaszewski <steev@kali.org> Acked-by: Shawn Guo <shawn.guo@linaro.org> Link: https://lore.kernel.org/r/20201128034231.89750-1-bjorn.andersson@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-11-30arm64: dts: qcom: c630: Fix pinctrl pins propertiesBjorn Andersson1-4/+4
The "pins" property takes an array of pin _names_, not pin numbers. Fix this. Tested-by: Steev Klimaszewski <steev@kali.org> Fixes: 44acee207844 ("arm64: dts: qcom: Add Lenovo Yoga C630") Link: https://lore.kernel.org/r/20201130170028.319798-1-bjorn.andersson@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-11-30arm64: dts: qcom: c630: Polish i2c-hid devicesBjorn Andersson1-13/+18
The numbering of the i2c busses differs from ACPI and a number of typos was made in the original patch. Further more the irq flags for the various resources was not correct and i2c3 only has one of the two client devices active in any one device. Also label the various devices, for easier comparison with the ACPI tables. Tested-by: Steev Klimaszewski <steev@kali.org> Fixes: 44acee207844 ("arm64: dts: qcom: Add Lenovo Yoga C630") Link: https://lore.kernel.org/r/20201130165924.319708-1-bjorn.andersson@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-11-30arm64: dts: qcom: sc7180: Add lpass cpu node for I2S driverAjit Pandey1-0/+69
Add the I2S controller node to sc7180 dtsi. Add pinmux for primary and secondary I2S. Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Ajit Pandey <ajitp@codeaurora.org> Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org> Signed-off-by: V Sujith Kumar Reddy <vsujithk@codeaurora.org> Signed-off-by: Srinivasa Rao Mandadapu <srivasam@codeaurora.org> Link: https://lore.kernel.org/r/1600450426-14063-1-git-send-email-srivasam@codeaurora.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-11-30arm64: dts: sdm845: Add interconnect properties for QUPGeorgi Djakov1-0/+160
Add the interconnects DT property to describe the ports for GENI QUPs on the sdm845 platform. Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> Link: https://lore.kernel.org/r/20201105135211.7160-3-georgi.djakov@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-11-30interconnect: qcom: sdm845: Add the missing nodes for QUPGeorgi Djakov1-0/+3
The QUP nodes are currently defined just as entries in the topology, but they are not referenced by any of the NoCs. Let's fix this and "attach" them to their NoCs, so that the QUP drivers are able to use them as path endpoints and scale their bandwidth. This is based on the information from the downstream msm-4.9 kernel. Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> Link: https://lore.kernel.org/r/20201105135211.7160-2-georgi.djakov@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-11-30dt-bindings: interconnect: sdm845: Add IDs for the QUP portsGeorgi Djakov1-0/+2
The QUP ports exist in the topology, but are not exposed as an endpoints in DT. Fix this by creating IDs and attach them to their NoCs, so that the various QUP drivers (i2c/spi/uart etc.) are able to request their interconnect paths and scale their bandwidth. Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> Link: https://lore.kernel.org/r/20201105135211.7160-1-georgi.djakov@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-11-30arm64: dts: qcom: c630: Expose LID eventsBjorn Andersson1-0/+39
The LID state can be read from GPIO 124 and the "tablet mode" from GPIO 95, expose these to the system using gpio-keys and mark the falling edge of the LID state as a wakeup-source - to wake the system from suspend. Tested-by: Steev Klimaszewski <steev@kali.org> Acked-by: Shawn Guo <shawn.guo@linaro.org> Link: https://lore.kernel.org/r/20201125060838.165576-1-bjorn.andersson@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-11-30arm64: dts: qcom: c630: Re-enable apps_smmuBjorn Andersson1-5/+0
Re-enable the apps_smmu now that the arm-smmu driver supports stream mapping handoff from firmware. Tested-by: Steev Klimaszewski <steev@kali.org> Acked-by: Shawn Guo <shawn.guo@linaro.org> Link: https://lore.kernel.org/r/20201124184414.380796-1-bjorn.andersson@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-11-30dts: qcom: sdm845: Add dt entries to support crypto engine.Thara Gopinath1-0/+30
Add crypto engine (CE) and CE BAM related nodes and definitions to "sdm845.dtsi". Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org> Link: https://lore.kernel.org/r/20201119155233.3974286-6-thara.gopinath@linaro.org [bjorn: Replaced RPMH_CE_CLK constant, for now] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-11-30arm64: dts: armada-3720-turris-mox: add 3W power capability to SFP cageMarek Behún1-0/+1
Add maximum-power-milliwatt = 3000 to SFP node of Turris MOX. Signed-off-by: Marek Behún <kabel@kernel.org> Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox") Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-30arm64: dts: marvell: keep SMMU disabled by default for Armada 7040 and 8040Tomasz Nowicki2-8/+0
FW has to configure devices' StreamIDs so that SMMU is able to lookup context and do proper translation later on. For Armada 7040 & 8040 and publicly available FW, most of the devices are configured properly, but some like ap_sdhci0, PCIe, NIC still remain unassigned which results in SMMU faults about unmatched StreamID (assuming ARM_SMMU_DISABLE_BYPASS_BY_DEFAUL=y). Since there is dependency on custom FW let SMMU be disabled by default. People who still willing to use SMMU need to enable manually and use ARM_SMMU_DISABLE_BYPASS_BY_DEFAUL=n (or via kernel command line) with extra caution. Fixes: 83a3545d9c37 ("arm64: dts: marvell: add SMMU support") Cc: <stable@vger.kernel.org> # 5.9+ Signed-off-by: Tomasz Nowicki <tn@semihalf.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-30arm64: dts: mcbin-singleshot: add heartbeat LEDTomasz Maciej Nowak1-0/+22
With board revision 1.3, SolidRun moved the power LED to the middle of the board. In old place of power LED a GPIO controllable heartbeat LED was added. This commit only touches Single Shot variant, since only this variant is all revision 1.3. Reported-by: Alexandra Alth <alexandra@alth.de> Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-30arm64: dts: marvell: cp11x: Harmonize xHCI DT nodes nameSerge Semin1-2/+2
In accordance with the Generic xHCI bindings the corresponding node name is suppose to comply with the Generic USB HCD DT schema, which requires the USB nodes to have the name acceptable by the regexp: "^usb(@.*)?" . Make sure the "generic-xhci"-compatible nodes are correctly named. Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru> Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-30ARM: dts: mvebu: Add device tree for RD-AC3X-48G4X2XL boardAryan Srivastava2-0/+113
Add device tree for RD-AC3X-48G4X2XL board. This has a Armada 382 SoC on a interposer board connected to a baseboard with a Prestera AC3X ASIC connected via PCI. Signed-off-by: Aryan Srivastava <aryan.srivastava@alliedtelesis.co.nz> Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-30arm: dts: marvell: armada-375: Harmonize DWC USB3 DT nodes nameSerge Semin1-1/+1
In accordance with the DWC USB3 bindings the corresponding node name is suppose to comply with the Generic USB HCD DT schema, which requires the USB nodes to have the name acceptable by the regexp: "^usb(@.*)?" . Make sure the "snps,dwc3"-compatible nodes are correctly named. Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru> Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-30arm64: dts: ti: k3-j721e-common-proc-board: Add support for SD card UHS modesFaiz Abbas2-2/+33
Add support for UHS modes for the SD card connected at sdhci1. This involves adding regulators for voltage switching and power cycling the SD card and removing the no-1-8-v property. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com> Link: https://lore.kernel.org/r/20201129175223.21751-3-nsekhar@ti.com
2020-11-30arm64: dts: ti: k3-j721e-main: Add output tap delay valuesFaiz Abbas1-3/+17
Add output tap delay values as given in the latest Data Manual[1], SPRSP36E, revised December 2019. [1] https://www.ti.com/lit/gpn/tda4vm Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Nishanth Menon <nm@ti.com> Link: https://lore.kernel.org/r/20201129175223.21751-2-nsekhar@ti.com
2020-11-30ARM: dts: turris-omnia: remove unneeded status = "okay" propertiesMarek Behún1-2/+0
Only nodes which have status = "disabled" defined from included files need status = "okay". The ethernet-phy node and the i2cmux node do not need it, since they are wholly defined here. Signed-off-by: Marek Behún <kabel@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Andreas Färber <afaerber@suse.de> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-30ARM: dts: turris-omnia: update ethernet-phy node and handle nameMarek Behún1-3/+3
Use property name `phy-handle` instead of the deprecated `phy` to connect eth2 to the PHY. Rename the node from "phy@1" to "ethernet-phy@1", since "phy@1" is incorrect according to device-tree bindings documentation. Also remove the "ethernet-phy-id0141.0DD1" compatible string, it is not needed. Kernel can read the PHY identifier itself. Signed-off-by: Marek Behún <kabel@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Cc: linux-arm-kernel@lists.infradead.org Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Andreas Färber <afaerber@suse.de> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-30ARM: dts: turris-omnia: add LED controller nodeMarek Behún1-1/+110
Linux now has incomplete support for the LED controller on Turris Omnia: it can set brightness and colors for each LED. The controller can also put these LEDs into HW controlled mode, in which the LEDs are controlled by HW: for example the WAN LED is connected via MCU to the WAN PHY LED pin. The driver does not support these HW controlled modes yet, and on probe puts the LEDs into SW controlled mode. Add node describing the LED controller, but disable it for now. Signed-off-by: Marek Behún <kabel@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Andreas Färber <afaerber@suse.de> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-30ARM: dts: turris-omnia: add SFP nodeMarek Behún1-1/+29
Turris Omnia has an SFP cage that, together with WAN PHY, is connected to eth2 SerDes via a SerDes multiplexor. When a SFP module is present, the multiplexor switches the SerDes signal from PHY to SFP. Describe the SFP cage, but leave it disabled. Until phylink has support for such configuration, we are leaving it to U-Boot to enable SFP and disable WAN PHY at boot time depending on whether a SFP module is present. Signed-off-by: Marek Behún <kabel@kernel.org> Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") Reviewed-by: Andrew Lunn <andrew@lunn.ch> Cc: Russell King - ARM Linux admin <linux@armlinux.org.uk> Cc: linux-arm-kernel@lists.infradead.org Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Andreas Färber <afaerber@suse.de> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-30ARM: dts: turris-omnia: describe switch interruptMarek Behún1-1/+11
Describe switch interrupt for Turris Omnia so that the CPU does not have to poll the switch. We also need to to set mpp45 pin to gpio function for this. Signed-off-by: Marek Behún <kabel@kernel.org> Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") Cc: linux-arm-kernel@lists.infradead.org Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Andreas Färber <afaerber@suse.de> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-30ARM: dts: turris-omnia: add comphy handle to eth2Marek Behún1-0/+1
The eth2 controller on Turris Omnia is connected to SerDes. For SFP to be able to switch between 1G and 2.5G modes the comphy link has to be defined. Signed-off-by: Marek Behún <kabel@kernel.org> Fixes: f3a6a9f3704a ("ARM: dts: add description for Armada 38x ...") Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Andreas Färber <afaerber@suse.de> Cc: linux-arm-kernel@lists.infradead.org Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-30ARM: dts: turris-omnia: enable HW buffer managementMarek Behún1-0/+17
The buffer manager is available on Turris Omnia but needs to be described in device-tree to be used. Signed-off-by: Marek Behún <kabel@kernel.org> Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia") Cc: linux-arm-kernel@lists.infradead.org Cc: Uwe Kleine-König <uwe@kleine-koenig.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Andreas Färber <afaerber@suse.de> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-30arm64: dts: marvell: espressobin: Update link to V7 schematicPali Rohár2-2/+2
Up-to-date version of V7 schematic is on new URL linked from official tech-spec webpage http://espressobin.net/tech-spec/ Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-30dt-bindings: vendor-prefixes: Add FIIJoel Stanley1-0/+2
Adds Foxconn Industrial Internet, who have submitted a BMC device tree. Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Benjamin Fair <benjaminfair@google.com> Link: https://lore.kernel.org/r/20201119073230.123888-1-joel@jms.id.au Signed-off-by: Joel Stanley <joel@jms.id.au>
2020-11-29arm64: dts: armada-3720-turris-mox: update ethernet-phy handle nameMarek Behún1-1/+1
Use property name `phy-handle` instead of the deprecated `phy` to connect eth2 to the PHY. Signed-off-by: Marek Behún <kabel@kernel.org> Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox") Cc: Gregory CLEMENT <gregory.clement@bootlin.com> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-29arm64: dts: marvell: armada-cp110: Switch to per-port SATA interruptsSven Auhagen1-3/+3
There are two SATA ports per CP110. Each of them has a dedicated interrupt. Describe the real hardware by adding two SATA ports to the CP110 SATA node. Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-29arm64: dts: marvell: add DT for ESPRESSObin-UltraVladimir Vid2-0/+166
This adds support for ESPRESSObin-Ultra from Globalscale. Specifications are similar to the base ESPRESSObin board, with main difference being being WAN port with PoE capability and 2 additional ethernet ports. Full specifications: 1x Marvell 64 bit Dual Core ARM A53 Armada 3700 SOC clocked up to 1.2Ghz 1x Topaz 6341 Networking Switch 1GB DDR4 8GB eMMC 1x WAN with 30W POE 4x Gb LAN 1x RTC Clock and battery 1x DC Jack 1x USB 3.0 Type A 1x USB 2.0 Type A 1x SIM NanoSIM card Slot 1x Power Button 4x LED 1x Reset button 1x microUSB for UART 1x M.2 2280 slot for memory 1x 2x2 802.11ac Wi-Fi 1x MiniPCIE slot for Wi-Fi (PCIe interface) Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-29arm64: dts: marvell: espressobin: Add support for LED2Pali Rohár3-0/+21
LED2 is connected to MPP1_2 pin. It is working only on V7 boards. V5 boards have hw bug which cause that LED2 is non-working. So enable LED2 only for Espressobin V7 boards. Note that LED1 is connected to LED_WLAN# pin on miniPCIe card and LED3 to power supply. Therefore on Espressobin board only LED2 can be controlled directly from the host. LED1 is possible to control via WiFi card inserted in miniPCIe slot if driver for particular card supports it. Signed-off-by: Pali Rohár <pali@kernel.org> Tested-by: Gérald Kerma <gerald@gk2.net> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-29arm64: dts: marvell: Add a device tree for the IEI Puzzle-M801 boardLuka Kovacic2-0/+524
Add initial support for the IEI Puzzle-M801 1U Rackmount Network Appliance board. The board is based on the quad-core Marvell Armada 8040 SoC and supports up to 16 GB of DDR4 2400 MHz ECC RAM. It has a PCIe x16 slot (x2 lanes only) and an M.2 type B slot. Main system hardware: 2x USB 3.0 4x Gigabit Ethernet 2x SFP+ 1x SATA 3.0 1x M.2 type B 1x RJ45 UART 1x SPI flash 1x IEI WT61P803 PUZZLE Microcontroller 1x EPSON RX8010 RTC (used instead of the integrated Marvell RTC controller) 6x SFP+ LED 1x HDD LED All of the hardware listed above is supported and tested in this port. Signed-off-by: Luka Kovacic <luka.kovacic@sartura.hr> Acked-by: Andrew Lunn <andrew@lunn.ch> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Robert Marko <robert.marko@sartura.hr> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-29arm64: dts: marvell: espressobin: De-duplicate eMMC definitionsPali Rohár3-36/+24
eMMC definitions in files armada-3720-espressobin-emmc.dts and armada-3720-espressobin-v7-emmc.dts is same. So move it into common armada-3720-espressobin.dtsi file with status "disabled". This change simplifies eMMC variants of DTS files for Espressobin. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Andre Heider <a.heider@gmail.com> Tested-by: Andre Heider <a.heider@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-29arm64: dts: marvell: espressobin: Get rid of duplicate serial aliasesAndre Heider1-2/+0
The included armada-37xx.dtsi already defines these two aliases. Signed-off-by: Andre Heider <a.heider@gmail.com> Reviewed-by: Pali Rohár <pali@kernel.org> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-29arm64: dts: marvell: espressobin: Simplify v7 ethernet port labelingAndre Heider2-26/+10
Now that the switch ports have a label in the .dtsi, simplify the whole "switch0" block for the v7 dts files. Signed-off-by: Andre Heider <a.heider@gmail.com> Reviewed-by: Pali Rohár <pali@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-29ARM: dts: Add i2c0 pinctrl information for 98dx3236Chris Packham1-0/+7
Add pinctrl information for the 98dx3236 (and variants). There is only one choice for i2c0 MPP14 and MPP15. Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-29ARM: dts: Remove non-existent i2c1 from 98dx3236Chris Packham1-5/+0
The switches with integrated CPUs have only got a single i2c controller. They incorrectly gained one when they were split from the Armada-XP. Fixes: 43e28ba87708 ("ARM: dts: Use armada-370-xp as a base for armada-xp-98dx3236") Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-29ARM: dts: armada: align GPIO hog names with dtschemaKrzysztof Kozlowski3-10/+10
The convention for node names is to use hyphens, not underscores. dtschema for pca95xx expects GPIO hogs to end with 'hog' prefix. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-29ARM: dts: dove: fix PCA95xx GPIO expander properties on A510Krzysztof Kozlowski1-0/+1
The PCA95xx GPIO expander requires GPIO controller properties to operate properly. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2020-11-29ARM: dts: kirkwood: replace status value "ok" by "okay"Adrian Schmutzler8-9/+9
While the DT parser recognizes "ok" as a valid value for the "status" property, it is actually mentioned nowhere. Use the proper value "okay" instead, as done in the majority of files already. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>