platform/kernel/linux-rpi3.git
6 years agoMerge tag 'v4.16-next-dts64' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Tue, 27 Mar 2018 12:18:41 +0000 (14:18 +0200)]
Merge tag 'v4.16-next-dts64' of ssh://gitolite./linux/kernel/git/matthias.bgg/linux into next/dt

Pull "ARM: mediatek: dts64 updates for v4.16-next" from Matthias Brugger:

- mt2712e add auxadc devcie

mt7622:
- fix clock bindings description
- add nodes for mmc, usb, SATA, PCI, ethernet, cpufreq, PMIC mt6380,
pinctrl, scpsys and clock devices

* tag 'v4.16-next-dts64' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux:
  arm64: dts: mt2712: Add auxadc device node.
  dt-bindings: clock: mediatek: add missing required #reset-cells
  arm64: dts: mt7622: add mmc related device nodes
  arm64: dts: mt7622: add usb device nodes
  arm64: dts: mt7622: add SATA device nodes
  arm64: dts: mt7622: add PCIe device nodes
  arm64: dts: mt7622: add ethernet device nodes
  arm64: dts: mt7622: add flash related device nodes
  arm64: dts: mt7622: add SoC and peripheral related device nodes
  arm64: dts: mt7622: turn uart0 clock to real ones
  arm64: dts: mt7622: add cpufreq related device nodes
  arm64: dts: mt7622: add PMIC MT6380 related nodes
  arm64: dts: mt7622: add pinctrl related device nodes
  arm64: dts: mt7622: add power domain controller device nodes
  arm64: dts: mt7622: add clock controller device nodes

6 years agoMerge tag 'v4.16-next-dts32' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Tue, 27 Mar 2018 12:17:37 +0000 (14:17 +0200)]
Merge tag 'v4.16-next-dts32' of ssh://gitolite./linux/kernel/git/matthias.bgg/linux into next/dt

Pull "ARM: mediatek: dts32 updates for v4.16-next" from Matthias Brugger:

mt7623:
- fix style issues of the dts
- add cpu clock properties
- add PCI controller
- add mt7623 reference board

banapi-r2:
- enable missing uarts
- fix regulator for mmc
- fix USB initialization

* tag 'v4.16-next-dts32' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux:
  arm: dts: mt7623: add PCIe related nodes
  arm: dts: mt7623: use - instead of _ in DT node name
  arm: dts: mt7623: remove useless property pinctrl-names at node switch@0
  arm: dts: mt7623: add related clock properties to cpu[1-3] nodes
  arm: dts: mt7623: enable three available UARTs on bananapi-r2
  arm: dts: mt7623: fix the regulators mmc should use on bananapi-r2
  arm: dts: mt7623: fix USB initialization fails on bananapi-r2
  dt-bindings: arm: mediatek: add support for more mt7623 reference boards

6 years agoMerge tag 'samsung-dt-4.17-2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Tue, 27 Mar 2018 12:11:05 +0000 (14:11 +0200)]
Merge tag 'samsung-dt-4.17-2' of ssh://gitolite./linux/kernel/git/krzk/linux into next/dt

Pull "Samsung DTS ARM changes for v4.17, part two" from Krzysztof Kozłowski:

1. Fix audio on Exynos5250 Chromebook Snow.
2. Enable HDMI audio Chromebook Snow, Peach Pit and Peach Pi.
3. Fix debounce of "OK" key on Midas (Trats2, Galaxy S3) boards.

* tag 'samsung-dt-4.17-2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: dts: exynos: Add #sound-dai-cells property to exynos5250 i2s nodes
  ARM: dts: exynos: Fix "debounce-interval" property misspelling in Midas
  ARM: dts: exynos: Enable HDMI audio support on Peach Pi
  ARM: dts: exynos: Enable HDMI audio support on Peach Pit
  ARM: dts: exynos: Enable HDMI audio on Snow Chromebook
  ARM: dts: exynos: Add missing clock and DAI properties to the max98095 node in Snow Chromebook
  ARM: dts: exynos: Add audio clocks configuration for Snow Chromebook
  ARM: dts: exynos: Add #sound-dai-cells property to hdmi node in exynos5250.dtsi

6 years agoMerge tag 'renesas-dt-for-v4.17' of ssh://gitolite.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Tue, 27 Mar 2018 11:32:53 +0000 (13:32 +0200)]
Merge tag 'renesas-dt-for-v4.17' of ssh://gitolite./linux/kernel/git/horms/renesas into next/dt

Pull "Renesas ARM Based SoC DT Updates for v4.17" from Simon Horman:

* Silk board with R-Car E2 (r8a7794) SoC
  - Add r1ex24002 EEPROM to DT

    Magnus Damm says "Extend the Silk board support to include U14 which is
    an I2C based EEPROM hooked up to the I2C1 bus."

  - Add GPIO keys to DT

    Magnus Damm says "Extend the Silk board support to include SW3, SW4,
    SW6 and SW12. They are all connected via GPIO lines and handled by the
    gpio-keys driver"

* Marzen board with R-Car H1 (r7a7779) SoC
  - Add SDHI0 VCCQ Regulator

    Magnus Damm says "Add support for the on-board voltage regulator hooked
    up to GPIO3_20 on r8a7779 Marzen. The board schematics describes the
    regulator as U4 TPS2110A. Input wise, U4 has D0 fixed to ground, D1
    tied to GPIO3_20 while IN1 is fixed to 3.3V and IN2 is fixed to 1.8V.
    OUT goes to the pull-ups for the data pins of SDHI0."

* Porter board with R-Car M3W (r8a7791) SoC
  - Fix HDMI output routing

    Laurent Pinchart says "The HDMI encoder is connected to the RGB output
    of the DU, which is port@0, not port@1."

* iWave Systems RZ/G1E SODIMM System On Module (iW-RainboW-G22M-SM) and
  iWave Systems RZ/G1M Qseven System On Module (iW-RainboW-G20M-Qseven)
  - Enable cmt0

* Stout board with R-Car H2 (r8a7790) SoC
  - Initial support

* Lager board with R-Car H2 (r8a7790) SoC
  - Add CEC clock for HDMI transmitter

    Niklas Söderlund says "The adv7511 on the Lager board has a 12 MHz
    fixed clock for the CEC block. Specify this in the dts to enable CEC
    support."

  - Move cec_clock to root node

    By definition nodes without a bus address do not belong on the bus

* kzm9d board with EMMA Mobile EV2 (EMEV2) SoC
  - Fix "debounce-interval" property misspelling

* RZ/G1M (r8a7743) and RZ/G1H (r8a7745) SoCs
  - Add IPMMU DT nodes
  - Add VSP support

* R-Car Gen2 boards
  - Use I2C demuxer for

    This allows run-time switching between alternate I2C IP blocks

* R-Car Gen2 and RZ/G1 SoCs
  - Clean up DT files to ease future maintenance
    + add soc node for IP attached to the bus
    + sort subnodes of soc and root node
    + consistently use single space after =

* R-Car H2 (r8a7790), M3-W (r8a7791) and M3-N (r7a7793) SoCs
  - Reduce size of thermal registers

    According to the "User's Manual: Hardware" v2.00 the registers at base
    0xe61f0000 extend to an offset of 0x10, rather than 0x14 which is the
    case on the r8a73a4 (R-Mobile APE6).

    This should not have any runtime affect as mapping granularity is
    PAGE_SIZE.

* tag 'renesas-dt-for-v4.17' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (47 commits)
  ARM: dts: silk: Add GPIO keys to DT
  ARM: dts: silk: Add r1ex24002 EEPROM to DT
  ARM: dts: marzen: Add SDHI0 VCCQ Regulator
  ARM: dts: stout: Initial r8a7790 Stout board support
  ARM: dts: lager: Move cec_clock to root node
  ARM: dts: kzm9d: Fix "debounce-interval" property misspelling
  ARM: dts: gose: use demuxer for I2C4
  ARM: dts: gose: use demuxer for I2C2
  ARM: dts: silk: use demuxer for I2C1
  ARM: dts: alt: use demuxer for I2C1
  ARM: dts: porter: use demuxer for I2C2
  ARM: dts: koelsch: use demuxer for I2C4
  ARM: dts: koelsch: use demuxer for I2C2
  ARM: dts: lager: use demuxer for IIC3/I2C3
  ARM: dts: lager: use demuxer for IIC2/I2C2
  ARM: dts: r8a7745: Add VSP support
  ARM: dts: r8a7743: Add VSP support
  ARM: dts: r8a7745: Add IPMMU DT nodes
  ARM: dts: r8a7743: Add IPMMU DT nodes
  ARM: dts: r8a7745: sort subnodes of soc node
  ...

6 years agoMerge tag 'renesas-dt-bindings-for-v4.17' of ssh://gitolite.kernel.org/pub/scm/linux...
Arnd Bergmann [Tue, 27 Mar 2018 11:30:50 +0000 (13:30 +0200)]
Merge tag 'renesas-dt-bindings-for-v4.17' of ssh://gitolite./linux/kernel/git/horms/renesas into next/dt

Pull "Renesas ARM Based SoC DT Bindings Updates for v4.17" from Simon Horman:

* Document the bindings for:
  - R-Car V3H (r8a77980) SoC
  - Condor board with V3H (r8a77980) SoC
  - Stout (ADAS Starterkit) board with R-Car H2 (r8a7790) SoC
  - R-Car M3-N (r8a77965) SoC
  - Salvator-X and Salvator-XS boards with R-Car M3-N (r8a77965) SoC
* Document that Armadillo-800 is compatibie with R-Mobile A1 (r8a7740) SoC
* Document part numbers of Wheat and V3MSK boards

* tag 'renesas-dt-bindings-for-v4.17' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  dt-bindings: arm: Document Renesas R-Car M3-N-based Salvator-X board
  dt-bindings: arm: Document Renesas R-Car M3-N-based Salvator-XS board
  dt-bindings: arm: Document Renesas V3MSK and Wheat board part numbers
  dt-bindings: arm: Document SoC compatible value for Armadillo-800 EVA
  dt-bindings: arm: Document R-Car M3-N SoC DT bindings
  dt-bindings: arm: Document Renesas H2-based Stout DT bindings
  dt-bindings: arm: document Condor board bindings
  dt-bindings: arm: document R8A77980 SoC bindings

6 years agoMerge tag 'renesas-arm64-dt-for-v4.17' of ssh://gitolite.kernel.org/pub/scm/linux...
Arnd Bergmann [Tue, 27 Mar 2018 11:28:10 +0000 (13:28 +0200)]
Merge tag 'renesas-arm64-dt-for-v4.17' of ssh://gitolite./linux/kernel/git/horms/renesas into next/dt

Pull "Renesas ARM64 Based SoC DT Updates for v4.17" from Simon Horman:

* R-Car Gen3 boards and SoCs
  - Make phy-mode of EtherAVB a board-specific property.

    The SoC DTs file now uses "rgmii" and boards override this with
    "rgmii-txid" as appropriate. Previously "rgmii-txid" was used
    in SoC DTs but this did not describe that more sophiticated
    functionality is a board rather than SoC property.

* Condor board with R-Car V3H (r8a77980) SoC
  - Initial upstream support

* Condor board with R-Car V3H (r8a77980) SoC
  - Initial upstream support

* R-Car D3 (r8a77995)
  - Add I2C nodes and then describing the PCA9654 I/O expander connected to
    the I2C0 bus.

* Eagle board with R-Car V3M (r8a77970) SoC
  - Enable PFC support for configuring SCIF0 pins
    This uses PFC support added to the V3M DT

  - Describe EtherAVB PHY IRQ
    This uses support for GPIO added to the V3M DT

  - Enable I2C0 support

    Sergei Shtylyov says "The I2C0 bus is populated by ON Semiconductor
    PCA9653 I/O expander and Analog Devices ADV7511W HDMI transmitter (but
    we're only describing the former chip now)."

* R-Car V3M (r8a77970) SoCs
  - Add PFC support
  - Describe GPIO devices
  - Describe I2C devices
  - Srt subnodes of root node alphabetically to eas future maintence overhead

* Draak board with R-Car D3 (r8a77995) SoC
  - Enable SDHI2

    Wolfram Sang says "The single SDHI controller is connected to eMMC."

  - Enable DU

    Kieran Bingham says "Enable the DU, providing only the VGA output for
    now."

* R-Car D3 (r8a77995) and V3M (r8a77970) SoCs
  - Move nodes which have no reg property out of bus
    By deffinition the bus only has hardware with an address on the bus

  - Remove non-existing STBE region from EtherAVB
    Stream Buffer for EtherAVB-IF (STBE) is not present on these SoCs

* R-Car D3 (r8a77995) SoC
  - Add FCPV, VSP and DU support

    Kieran Bingham says "The r8a77995-d3 platform supports 3 VSP instances.
    One VSPBS can be used as a dual-input image blender, while two VSPD
    instances can be utilised as part of a display (DU) pipeline.

    Add support for these, along with their required FCPV nodes."

* Salvator-X and Salvator-XS boards with R-Car Gen3 SoCs
  - Add GPIO extender
    This is a basis for follow-up work to configure the GPIOs of the extender

* Salvator-X and Salvator-XS board with R-Car M3-N (r8a77965) SoC
  - Initial upstream support

* R-Car H3 (r8a7795) and M3-W (r8a7796) SoCs
  - Add OPPs table for cpu devices
    This, along with recently upstreamed Z and Z2 clock support allows
    use of CPUFreq with both A57 and A53 CPUs.

  - Add thermal cooling management
    Allows the use of CPUFreq as a cooling device on A57 CPUs

  - Correct register size of thermal node

    Niklas Söderlund says "To be able to read fused calibration values from
    hardware the size of the register resource of TSC1 needs to be
    incremented to cover one more register which holds the information if
    the calibration values have been fused or not.

    Instead of increasing TSC1 size to the value from the datasheet update
    all TSC's size to the smallest granularity of the address decoder
    circuitry"

  - Fix register mappings on VSPs

    Kieran Bingham says "The VSPD includes a CLUT on RPF2. Ensure that the
    register space is mapped correctly to support this."

* R-Car H3 (r8a7795) SoC
  - Move SCIF node into alphabetical order to ease future maintenance overhead

  - Add IPMMU-PV1 device node

    This resolves an oversight when IPMMU nodes were added to the H3 DT.
    All IPMMU devices should now be described in DT.

  - Add missing SYS-DMAC2 dmas

    Geert Uytterhoeven says "On R-Car H3, on-chip peripheral modules that
    can make use of DMA are wired to either SYS-DMAC0 only, or to both
    SYS-DMAC1 and SYS-DMAC2.

    Add the missing DMA properties pointing to SYS-DMAC2 for HSCIF[0-2],
    SCIF[0125], and I2C[0-2].  These were initially left out because early
    firmware versions prohibited using SYS-DMAC2.  This restriction has
    been lifted in IPL and Secure Monitor Rev1.0.6 (released on Feb 25,
    2016)."

* tag 'renesas-arm64-dt-for-v4.17' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (69 commits)
  arm64: dts: renesas: v3msk: add SCIF0 pins
  arm64: dts: renesas: r8a7795: Add missing SYS-DMAC2 dmas
  arm64: dts: renesas: r8a7795: Add IPMMU-PV1 device node
  arm64: dts: renesas: r8a77970: sort subnodes of root node alphabetically
  arm64: dts: renesas: eagle: add I2C0 support
  arm64: dts: renesas: r8a77970: add I2C support
  arm64: dts: renesas: r8a77965-salvator-xs: Add SoC name to file header
  arm64: dts: renesas: r8a77965: Add EtherAVB device node
  arm64: dts: renesas: r8a77970: Set EtherAVB phy mode to "rgmii"
  arm64: dts: renesas: r8a77995: Set EtherAVB phy mode to "rgmii"
  arm64: dts: renesas: r8a7795: Set EtherAVB phy mode to "rgmii"
  arm64: dts: renesas: r8a7796: Set EtherAVB phy mode to "rgmii"
  arm64: dts: renesas: v3msk: Override EtherAVB phy-mode
  arm64: dts: renesas: eagle: Override EtherAVB phy-mode
  arm64: dts: renesas: draak: Override EtherAVB phy-mode
  arm64: dts: renesas: ulcb: Override EtherAVB phy-mode
  arm64: dts: renesas: salvator-common: Override EtherAVB phy-mode
  arm64: dts: renesas: r8a77965: Add INTC-EX device node
  arm64: dts: renesas: r8a77965: Add IIC-DVFS device node
  arm64: dts: renesas: Add support for Salvator-XS with R-Car M3-N
  ...

6 years agoMerge tag 'tegra-for-4.17-arm64-dt' of ssh://gitolite.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Tue, 27 Mar 2018 11:27:04 +0000 (13:27 +0200)]
Merge tag 'tegra-for-4.17-arm64-dt' of ssh://gitolite./linux/kernel/git/tegra/linux into next/dt

Pull "arm64: tegra: Device tree changes for v4.17-rc1" from Thierry Reding:

Adds initial support for the P2972-0000 development board based on
Tegra194 and enables the AHCI controller on Jetson TX1.

* tag 'tegra-for-4.17-arm64-dt' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  arm64: tegra: Enable AHCI on Jetson TX1
  arm64: tegra: Add SATA node for Tegra210
  arm64: tegra: Add device tree for the Tegra194 P2972-0000 board
  arm64: tegra: Add Tegra194 chip device tree

6 years agoMerge tag 'tegra-for-4.17-arm-dt' of ssh://gitolite.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Tue, 27 Mar 2018 11:19:34 +0000 (13:19 +0200)]
Merge tag 'tegra-for-4.17-arm-dt' of ssh://gitolite./linux/kernel/git/tegra/linux into next/dt

Pull "ARM: tegra: Device tree changes for v4.17-rc1" from Thierry Reding:

Support for the VDE is added on Tegra30 along with some general cleanup
and some improvements to the various Toradex boards.

* tag 'tegra-for-4.17-arm-dt' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: apalis-tk1: Support v1.2 hardware revision
  ARM: tegra: apalis-tk1: Copyright period, spurious newlines
  ARM: tegra: apalis-tk1: Hog group for ethernet, PCIe, reset GPIOs
  ARM: tegra: apalis-tk1: Add missing as3722 gpio0 configuration
  ARM: tegra: apalis-tk1: Activate PWM pin muxing for pwm3
  ARM: tegra: apalis-tk1: Set critical trips
  ARM: tegra: apalis/colibri: Remove unneeded reg property
  ARM: tegra: apalis/colibri: Use correct compatible for RTC
  ARM: tegra: Fix I2C bus frequencies on Apalis/Colibri
  ARM: tegra: venice2: Remove duplicate pcie-1 node
  ARM: tegra: beaver: Remove invalid uses of rsvd1
  ARM: tegra: Use proper IRQ type definitions
  ARM: tegra: Fix ULPI regression on Tegra20
  ARM: tegra: Add unit address to VDE IRAM area
  ARM: tegra: Add video decoder node on Tegra30
  ARM: tegra: Add IRAM node on Tegra30

6 years agoMerge tag 'tegra-for-4.17-dt-bindings' of ssh://gitolite.kernel.org/pub/scm/linux...
Arnd Bergmann [Tue, 27 Mar 2018 11:17:12 +0000 (13:17 +0200)]
Merge tag 'tegra-for-4.17-dt-bindings' of ssh://gitolite./linux/kernel/git/tegra/linux into next/dt

Pull "dt-bindings: Tegra changes for v4.17-rc1" from Thierry Reding:

Mostly cleanup of existing bindings and initial support for Tegra194.

* tag 'tegra-for-4.17-dt-bindings' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  dt/bindings: Fix binding examples for Tegra GMI controller
  dt-bindings: phy: Clarify ULPI PHY source clock
  dt-bindings: tegra: Add documentation for nvidia,tegra194-pmc
  dt-bindings: tegra: Add missing chips and NVIDIA boards

6 years agoarm64: dts: mt2712: Add auxadc device node.
Zhiyong Tao [Thu, 21 Sep 2017 01:26:52 +0000 (09:26 +0800)]
arm64: dts: mt2712: Add auxadc device node.

Add auxadc device node for MT2712.

Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
6 years agoarm: dts: mt7623: add PCIe related nodes
Ryder Lee [Wed, 14 Feb 2018 03:27:34 +0000 (11:27 +0800)]
arm: dts: mt7623: add PCIe related nodes

This patch adds some device nodes for the PCIe function block and updates
related pinmux.

Moreover, we add interrupt-map properties in both parent and children as
the chip only has one IRQ per slot that is connected to all INTx and get
propagated through the bridges and it also represents the root ports own
interrupts.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
6 years agoarm: dts: mt7623: use - instead of _ in DT node name
Sean Wang [Fri, 23 Feb 2018 10:16:31 +0000 (18:16 +0800)]
arm: dts: mt7623: use - instead of _ in DT node name

It should be good that no use "_" is in DT node name. Consequently,
those nodes in certain files which have an inappropriate name containing
"_" are all being replaced with "-".

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
6 years agoarm: dts: mt7623: remove useless property pinctrl-names at node switch@0
Sean Wang [Fri, 23 Feb 2018 10:16:30 +0000 (18:16 +0800)]
arm: dts: mt7623: remove useless property pinctrl-names at node switch@0

The property pinctrl-names is totally superfluous. It would be good to
remove the property to keep the node neatness. There is actually
unnecessary to set up any pins for data path TRGMII between main SoC and
MT7530. Furthermore, it's more reasonable for the pin setup of control
path MDIO bus is being placed inside the node of ethernet controller.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
6 years agoarm: dts: mt7623: add related clock properties to cpu[1-3] nodes
Sean Wang [Fri, 23 Feb 2018 10:16:29 +0000 (18:16 +0800)]
arm: dts: mt7623: add related clock properties to cpu[1-3] nodes

Complement the missing clock properties cpu[1-3] should depend on.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: linux-pm@vger.kernel.org
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
6 years agoarm: dts: mt7623: enable three available UARTs on bananapi-r2
Sean Wang [Fri, 23 Feb 2018 10:16:28 +0000 (18:16 +0800)]
arm: dts: mt7623: enable three available UARTs on bananapi-r2

On bpi-r2 board, totally there're four UARTs which we usually called
uart[0-3] helpful to extend slow-I/O devices. Among those ones, uart2 has
dedicated pin slot which is used to console log. uart[0-1] appear at the
40-pins connector and uart3 has no pinout, but just has test points (TP47
for TX and TP48 for RX, respectively) nearby uart2, but we don't enable
uart3 in the patch. The missing pinctrl is also being supplemented for
those newly added devices.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
6 years agoarm: dts: mt7623: fix the regulators mmc should use on bananapi-r2
Sean Wang [Fri, 23 Feb 2018 10:16:27 +0000 (18:16 +0800)]
arm: dts: mt7623: fix the regulators mmc should use on bananapi-r2

Both mmc devices on bananapi-r2 board should all use the fixed regulators
as their power source instead of PMIC MT6323 exports.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
6 years agodt-bindings: clock: mediatek: add missing required #reset-cells
Sean Wang [Sat, 17 Feb 2018 19:54:36 +0000 (03:54 +0800)]
dt-bindings: clock: mediatek: add missing required #reset-cells

All ethsys, pciesys and ssusbsys internally include reset controller, so
explicitly add back these missing cell definitions to related bindings
and examples.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-clk@vger.kernel.org
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
6 years agoARM: dts: silk: Add GPIO keys to DT
Magnus Damm [Mon, 19 Feb 2018 11:49:51 +0000 (20:49 +0900)]
ARM: dts: silk: Add GPIO keys to DT

Extend the Silk board support to include SW3, SW4, SW6 and SW12. They
are all connected via GPIO lines and handled by the gpio-keys driver.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: silk: Add r1ex24002 EEPROM to DT
Magnus Damm [Mon, 19 Feb 2018 11:49:42 +0000 (20:49 +0900)]
ARM: dts: silk: Add r1ex24002 EEPROM to DT

Extend the Silk board support to include U14 which is an I2C based EEPROM
hooked up to the I2C1 bus.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: marzen: Add SDHI0 VCCQ Regulator
Magnus Damm [Mon, 19 Feb 2018 12:37:58 +0000 (21:37 +0900)]
ARM: dts: marzen: Add SDHI0 VCCQ Regulator

Add support for the on-board voltage regulator hooked up to GPIO3_20
on r8a7779 Marzen. The board schematics describes the regulator as U4
TPS2110A. Input wise, U4 has D0 fixed to ground, D1 tied to GPIO3_20
while IN1 is fixed to 3.3V and IN2 is fixed to 1.8V. OUT goes to the
pull-ups for the data pins of SDHI0.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: stout: Initial r8a7790 Stout board support
Marek Vasut [Thu, 15 Feb 2018 18:49:19 +0000 (19:49 +0100)]
ARM: dts: stout: Initial r8a7790 Stout board support

Stout base board support making use of 1 GiB of memory,
the Renesas H2 r8a7790 SoC with the SCIFA0 serial port
and CA15 with ARM architected timer.

Furthermore, this device tree contains entries for:
  - 4x LEDs
  - SDHI SD/MMC controller
  - Display unit with HDMI output
  - SH fast ethernet controller
  - QSPI controller with S25FL512S attached to it
  - I2C controller with DA9210 and DA 9063 PMICs

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: lager: Move cec_clock to root node
Geert Uytterhoeven [Tue, 13 Feb 2018 13:40:45 +0000 (14:40 +0100)]
ARM: dts: lager: Move cec_clock to root node

cec-clock is a fixed clock generator that is not controlled by i2c-12
and thus should not be a child of the i2c-12 bus node. Rather, it should
be a child of the root node of the DT.

Fixes: c5aa87977626e778 ("ARM: dts: lager: Add CEC clock for HDMI transmitter")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: kzm9d: Fix "debounce-interval" property misspelling
Geert Uytterhoeven [Tue, 13 Feb 2018 14:15:29 +0000 (15:15 +0100)]
ARM: dts: kzm9d: Fix "debounce-interval" property misspelling

"debounce_interval" was never supported.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: stih4xx: Add missing #sound-dai-cells
Rob Herring [Thu, 1 Mar 2018 20:25:00 +0000 (21:25 +0100)]
ARM: dts: stih4xx: Add missing #sound-dai-cells

dtc now gives the following warnings:

arch/arm/boot/dts/stih410-b2120.dtb: Warning (sound_dai_property): /soc/sound/simple-audio-card,dai-link@0/codec: Missing property '#sound-dai-cells' in node /soc/sti-display-subsystem/sti-hdmi@8d04000 or bad phandle (referred from sound-dai[0])
arch/arm/boot/dts/stih407-b2120.dtb: Warning (sound_dai_property): /soc/sound/simple-audio-card,dai-link@0/codec: Missing property '#sound-dai-cells' in node /soc/sti-display-subsystem/sti-hdmi@8d04000 or bad phandle (referred from sound-dai[0])
arch/arm/boot/dts/stih410-b2260.dtb: Warning (sound_dai_property): /soc/sound/simple-audio-card,dai-link@0/codec: Missing property '#sound-dai-cells' in node /soc/sti-display-subsystem/sti-hdmi@8d04000 or bad phandle (referred from sound-dai[0])

Add the missing #sound-dai-cells property.

Cc: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
6 years agoMerge tag 'imx-dt64-4.17' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/shawn...
Arnd Bergmann [Thu, 15 Mar 2018 15:25:44 +0000 (16:25 +0100)]
Merge tag 'imx-dt64-4.17' of ssh://gitolite./linux/kernel/git/shawnguo/linux into next/dt

Pull "Freescale arm64 device tree updates for 4.17" from Shawn Guo:
 - Move cpu_thermal device out of bus node to fix DTC simple_bus_reg
   warning seen with W=1 switch.
 - Fix IFC child nodes' unit-address to eliminate DTC simple_bus_reg
   warnings.
 - Add a dummy size memory 'reg' property for LS1046A device tree to
   avoid unit_address_vs_reg DTC warning, and the real size will be
   filled by bootloader.
 - Update ls208xa-qds board device tree to fix unit_address_vs_reg
   warnings with DSPI device.
 - Add idle-states for LS1012A and LS1043A, and correct
   arm,psci-suspend-param setting for already added idle-states.
 - DPAA QBMan portal and watchdog device addition.

* tag 'imx-dt64-4.17' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  dt-bindings: ifc: Fix the unit address format in the examples
  arm64: dts: ls1046a: add a dummy memory 'reg' property
  arm64: dts: fsl: fix ifc simple-bus unit address format warnings
  arm64: dts: fsl: update the cpu idle node
  arm64: dts: ls1043a: add cpu idle support
  arm64: dts: ls1012a: add cpu idle support
  arm64: dts: ls208xa-qds: Fix the 'reg' property
  arm64: dts: ls208xa-qds: Pass unit name to dspi child nodes
  arm64: dts: ls208xa: Move cpu_thermal out of bus node
  arm64: dts: ls1088a: Move cpu_thermal out of bus node
  arm64: dts: ls1046a: Move cpu_thermal out of bus node
  arm64: dts: ls1043a: Move cpu_thermal out of bus node
  arm64: dts: ls1012a: Move cpu_thermal out of bus node
  arm64: dts: Add DPAA QBMan portal 9
  arm64: dts: ls1088a: add DT node of watchdog

6 years agoMerge tag 'imx-dt-4.17' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/shawngu...
Arnd Bergmann [Thu, 15 Mar 2018 15:06:55 +0000 (16:06 +0100)]
Merge tag 'imx-dt-4.17' of ssh://gitolite./linux/kernel/git/shawnguo/linux into next/dt

Pull "i.MX device tree updates for 4.17" from Shawn Guo:

 - New board support: phyBOARD-Mira i.MX6 boards; Advantech DMS-BA16
   i.MX6Q board; Toradex Colibri iMX6ULL boards.
 - ZII RDU board updates: add RAVE SP device; disable on-chip watchdog
   as the external watchdog is being used instead; improve USDHC node
   regarding to voltage and SDIO capability.
 - i.MX6UL/ULL updates: cpufreq clock cleanup; add IOMUXC_SNVS pins and
   missing daisy chain configurations; add more devices like WDOG3,
   UART8, PMU, architected timer etc.
 - Hummingboard updates: correct USBOTG-ID pin; remove mention of
   nonexistent node.
 - Fix compatibles of atmel eeprom devices.
 - A couple of improvements on i.MX25 pinfunc header regarding to eSDHC
   pins.
 - A bunch of patches from Fabio and Marco to fix DTC warnings seen with
   W=1 switch.
 - Remove GPU subsystem nodes, as they are not needed by the etnaviv
   driver anymore and have been removed from the binding.
 - Add FIFO depth definition for i.MX25 SSI devices.
 - Add missing '#sound-dai-cells' for sgtl5000 codec which is complained
   by DTC.
 - Miscellaneous and random updates.

* tag 'imx-dt-4.17' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (66 commits)
  ARM: dts: i.MX25: define SSI FIFO depth
  ARM: dts: vf610m4: Remove the zero length reg property
  ARM: dts: vf610m4: Remove skeleton.dtsi inclusion
  ARM: dts: vf500: Remove the zero length reg property
  ARM: dts: vf: Add memory node unit name
  ARM: dts: vf500: Remove skeleton.dtsi inclusion
  ARM: dts: imx7s: add temperature monitor support
  ARM: dts: imx: Add missing #sound-dai-cells for sgtl5000 codec
  ARM: dts: imx51-zii-rdu1: Add node for RAVE SP device
  ARM: dts: imx6: RDU2: Add RAVE SP device
  ARM: dts: imx5: Pass the memory unit-address
  ARM: dts: imx7s: add spba-bus abstraction
  ARM: dts: imx6dl-icore-rqs: Fix invalid PHY address assignment for ethernet
  ARM: dts: imx6ul: add wdog3 node
  ARM: dts: imx7: add CPU PMU support
  ARM: dts: imx6dl-colibri-eval-v3: Add chosen node
  ARM: dts: imx6: Pass memory unit-adress
  ARM: dts: imx6dl: remove 'lcdif' node
  ARM: dts: hummingboard: Remove mention of nonexistent node
  ARM: dts: imx6qdl-hummingboard: fix USBOTG-ID pin
  ...

6 years agoMerge tag 'imx-dt-newclk-4.17' of ssh://gitolite.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 15 Mar 2018 15:01:18 +0000 (16:01 +0100)]
Merge tag 'imx-dt-newclk-4.17' of ssh://gitolite./linux/kernel/git/shawnguo/linux into next/dt

Pull "i.MX device tree update with new clock for 4.17" from Shawn Guo:

 - Add CAAM and Keypad device node for i.MX7S/D SoC device tree.
 - Add clock support for i.MX7 SNVS RTC device.

* tag 'imx-dt-newclk-4.17' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: dts: imx7s: add Keypad Port module
  ARM: dts: imx7s: add CAAM device node
  ARM: dts: imx7s: add snvs rtc clock
  clk: imx: imx7d: add the Keypad Port module clock
  clk: imx7d: add CAAM clock
  clk: imx: imx7d: add the snvs clock

6 years agoMerge tag 'uniphier-dt-v4.17' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 15 Mar 2018 15:00:06 +0000 (16:00 +0100)]
Merge tag 'uniphier-dt-v4.17' of ssh://gitolite./linux/kernel/git/masahiroy/linux-uniphier into next/dt

Pull "UniPhier ARM SoC DT updates for v4.17" from Masahiro Yamada:

- add sound support
- add ethernet support
- use proper SPDX-License-Identifier style

* tag 'uniphier-dt-v4.17' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier:
  ARM: dts: uniphier: add sound node for PXs2
  arm64: dts: uniphier: use proper SPDX-License-Identifier style
  ARM: dts: uniphier: use proper SPDX-License-Identifier style
  arm64: dts: uniphier: add fixed regulators for audio codec
  arm64: dts: uniphier: add AVE ethernet node
  ARM: dts: uniphier: add AVE ethernet node
  arm64: dts: uniphier: add compress audio out for LD11/LD20
  arm64: dts: uniphier: add speaker out for LD11/LD20 boards
  arm64: dts: uniphier: add sound node
  ARM: dts: uniphier: add audio in/out pin-mux node

6 years agoMerge tag 'aspeed-4.17-devicetree' of ssh://gitolite.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 15 Mar 2018 14:54:24 +0000 (15:54 +0100)]
Merge tag 'aspeed-4.17-devicetree' of ssh://gitolite./linux/kernel/git/joel/aspeed into next/dt

Pull "ASPEED device tree updates for 4.17" from Joel Stanley:

Updates to OpenPower BMC systems:

 A number of updates to use recently merged drivers, including moving to
 upstreamed IPMI BT nodes, a temp sensor for Romulus, and adding
 simple-reset for UARTs.

 This includes more of Palmetto's device tree, so that it's ever so
 close to booting the host with an upstream kernel.

New machines:

 Add Qualcomm Centriq ARM64 server reference platform, which will run
 OpenBMC on an AST2500.

* tag 'aspeed-4.17-devicetree' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/joel/aspeed:
  ARM: dts: aspeed: Add Qualcomm Centriq 2400 REP BMC
  ARM: dts: aspeed: romulus: Add w83773g temp sensor
  ARM: dts: aspeed: romulus: hog GPIOS7
  ARM: dts: romulus: Remove MAX31785 device
  ARM: dts: palmetto: Request mux as per strapping configuration
  ARM: dts: palmetto: Enable rear UART
  ARM: dts: aspeed: Add LPC reset controller node
  ARM: dts: aspeed: Add Palmetto GPIO hogs
  ARM: dts: palmetto: Add LEDs and GPIO keys
  ARM: dts: aspeed: Add LPC clock phandles
  ARM: dts: aspeed-g5: Update LPC node
  ARM: dts: aspeed: Enable IPMI BT node on OpenPower machines
  ARM: dts: aspeed: Add IPMI BT node

6 years agoARM: dts: uniphier: add sound node for PXs2
Katsuhiro Suzuki [Wed, 14 Mar 2018 05:26:58 +0000 (14:26 +0900)]
ARM: dts: uniphier: add sound node for PXs2

This patch adds audio controller, external codec and simple card node
of UniPhier AIO sound system for PXs2 SoCs.

Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
6 years agoarm64: dts: uniphier: use proper SPDX-License-Identifier style
Masahiro Yamada [Sat, 10 Mar 2018 13:18:41 +0000 (22:18 +0900)]
arm64: dts: uniphier: use proper SPDX-License-Identifier style

According to Documentation/process/license-rules.rst, move the SPDX
License Identifier to the very top of the file.  I used C++ comment
style not only for the SPDX line but for the entire block because
this seems Linus' preference [1].  I also dropped the parentheses to
follow the examples in that document.

[1] https://lkml.org/lkml/2017/11/25/133

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
6 years agoARM: dts: uniphier: use proper SPDX-License-Identifier style
Masahiro Yamada [Sat, 10 Mar 2018 13:18:01 +0000 (22:18 +0900)]
ARM: dts: uniphier: use proper SPDX-License-Identifier style

According to Documentation/process/license-rules.rst, move the SPDX
License Identifier to the very top of the file.  I used C++ comment
style not only for the SPDX line but for the entire block because
this seems Linus' preference [1].  I also dropped the parentheses to
follow the examples in that document.

[1] https://lkml.org/lkml/2017/11/25/133

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
6 years agoarm64: dts: uniphier: add fixed regulators for audio codec
Katsuhiro Suzuki [Wed, 28 Feb 2018 09:32:47 +0000 (18:32 +0900)]
arm64: dts: uniphier: add fixed regulators for audio codec

This patch adds regulators that have fixed voltage for audio codec
on UniPhier LD11/20 Global boards. This patch fixes warnings about
TAS57xx audio codec such as "tas571x 0-001b: 0-001b supply AVDD
not found, using dummy regulator".

Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
6 years agoarm64: dts: uniphier: add AVE ethernet node
Kunihiko Hayashi [Wed, 14 Feb 2018 09:30:29 +0000 (18:30 +0900)]
arm64: dts: uniphier: add AVE ethernet node

Add nodes of the AVE ethernet controller for LD11 and LD20 SoCs
and the boards.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
6 years agoARM: dts: uniphier: add AVE ethernet node
Kunihiko Hayashi [Wed, 14 Feb 2018 09:30:28 +0000 (18:30 +0900)]
ARM: dts: uniphier: add AVE ethernet node

Add nodes of the AVE ethernet controller for Pro4, PXs2, LD6b SoCs
and the boards.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
6 years agoarm64: dts: uniphier: add compress audio out for LD11/LD20
Katsuhiro Suzuki [Tue, 13 Feb 2018 13:01:56 +0000 (22:01 +0900)]
arm64: dts: uniphier: add compress audio out for LD11/LD20

This patch adds compress audio node for S/PDIF on UniPhier LD11/20
global boards. And adds settings of AIO for it.

Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
6 years agoarm64: dts: uniphier: add speaker out for LD11/LD20 boards
Katsuhiro Suzuki [Tue, 13 Feb 2018 13:01:55 +0000 (22:01 +0900)]
arm64: dts: uniphier: add speaker out for LD11/LD20 boards

This patch adds codec node for TI TAS571x on UniPhier LD11/20
global boards. And adds settings of AIO for speaker out.

Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
6 years agoarm64: dts: uniphier: add sound node
Katsuhiro Suzuki [Tue, 13 Feb 2018 13:01:54 +0000 (22:01 +0900)]
arm64: dts: uniphier: add sound node

This patch adds audio controller, codec and simple card node of
UniPhier AIO sound system for LD11/20 SoCs.

Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
6 years agoARM: dts: uniphier: add audio in/out pin-mux node
Katsuhiro Suzuki [Wed, 14 Mar 2018 05:17:32 +0000 (14:17 +0900)]
ARM: dts: uniphier: add audio in/out pin-mux node

The UniPhier AIO audio system needs I2S data in/out lines
and clock signal pins to connect external codec chip.

Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
6 years agoARM: dts: exynos: Add #sound-dai-cells property to exynos5250 i2s nodes
Sylwester Nawrocki [Tue, 13 Mar 2018 17:12:20 +0000 (18:12 +0100)]
ARM: dts: exynos: Add #sound-dai-cells property to exynos5250 i2s nodes

The #sound-dai-cells property may be required to reference the CPU DAI
properly. This change is required for Snow HDMI audio.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
6 years agoarm64: tegra: Enable AHCI on Jetson TX1
Preetham Ramchandra [Mon, 12 Mar 2018 11:40:32 +0000 (17:10 +0530)]
arm64: tegra: Enable AHCI on Jetson TX1

Enable AHCI on Jetson TX1 and add sata phy node.

Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
6 years agoarm64: tegra: Add SATA node for Tegra210
Preetham Ramchandra [Mon, 12 Mar 2018 11:40:31 +0000 (17:10 +0530)]
arm64: tegra: Add SATA node for Tegra210

Populate the SATA node for Tegra210.

Signed-off-by: Preetham Ramchandra <pchandru@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
6 years agoarm64: dts: renesas: v3msk: add SCIF0 pins
Sergei Shtylyov [Tue, 13 Mar 2018 19:26:01 +0000 (22:26 +0300)]
arm64: dts: renesas: v3msk: add SCIF0 pins

Add the (previously omitted) SCIF0 pin data to the V3M Starter Kit board's
device tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: aspeed: Add Qualcomm Centriq 2400 REP BMC
Ken Chen [Wed, 21 Feb 2018 07:17:26 +0000 (15:17 +0800)]
ARM: dts: aspeed: Add Qualcomm Centriq 2400 REP BMC

The Qualcomm Centriq 2400 REP (Reference Evaluation Platform) is
an aarch64 Armv8 server platform with an ast2520 BMC.

Signed-off-by: Ken Chen <chen.kenyy@inventec.com>
Acked-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
6 years agoARM: dts: aspeed: romulus: Add w83773g temp sensor
Lei YU [Wed, 17 Jan 2018 05:56:56 +0000 (13:56 +0800)]
ARM: dts: aspeed: romulus: Add w83773g temp sensor

Signed-off-by: Lei YU <mine260309@gmail.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
6 years agoARM: dts: aspeed: romulus: hog GPIOS7
Lei YU [Thu, 28 Dec 2017 08:38:06 +0000 (16:38 +0800)]
ARM: dts: aspeed: romulus: hog GPIOS7

GPIOS7 shall be pulled low for CPLD to continue the power up sequence.
With this hogged as pull-low, the CPLD workaround can be removed in
OpenBMC.

Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
6 years agoARM: dts: romulus: Remove MAX31785 device
Joel Stanley [Thu, 18 Jan 2018 20:10:25 +0000 (14:10 -0600)]
ARM: dts: romulus: Remove MAX31785 device

Romulus uses ASPEED's fan tach instead of max31785:

     * Pass1's max31785 is always reset by CPLD
     * Pass2's max31785 is not connected

Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
6 years agoMerge tag 'arm-soc/for-4.17/devicetree' of https://github.com/Broadcom/stblinux into...
Arnd Bergmann [Tue, 13 Mar 2018 21:38:04 +0000 (22:38 +0100)]
Merge tag 'arm-soc/for-4.17/devicetree' of https://github.com/Broadcom/stblinux into next/dt

Pull "Broadcom devicetree changes for 4.17" from Florian Fainelli:

This pull request contains Broadcom ARM-based SoCs devicetree changes
for 4.17, please pull the following:

- Henry fixes the pin functions for the JTAG pins, nothing uses this for
  now, but it could be backported eventually if deemed appropriate

- Stefan fixes the register ranges for the bcm2835-i2s nodes in the
  binding document definition, he then fixes the probing of the
  bcm2835-i2s driver by providing an appropriate register range and a
  missing clock. Stefan also makes sure that the appropriate pull
  settings are applied to the pins used on the Raspberry Pi Zero
  Wireless, he then adds the necessary UART node to connected to the
  BCM43438 Bluetooth adapter on the Pi Zero W. He finally enables USB
  OTG mode on the Pi Zero W since he became usable again

- Baruch adds the necessary Device Tree nodes to support the Raspberry
  Pi GPIO expander which is controlled via the VC4 firmware

- Hiroshi adds the missing LEDs on the Buffalo WZR-900DHP router

- Eric adds the DPI hardware block into the BCM283x Device Tree include
  file for future use when an actual panel is available

- Florian updates the Northstar Plus platforms to use port 8 of the
  internal switch as the CPU/management port since necessary code was
  added in the b53 switch driver to support that

* tag 'arm-soc/for-4.17/devicetree' of https://github.com/Broadcom/stblinux:
  ARM: dts: NSP: Switch to port 8 for CPU port
  ARM: bcm2835: Add the DPI hardware to the device tree.
  ARM: dts: BCM5301X: add missing LEDs for Buffalo WZR-900DHP
  ARM: dts: bcm2835-rpi-zero-w: Enable OTG mode
  ARM: dts: bcm2835-rpi-zero-w: Add bcm43438 serial slave
  ARM: dts: bcm283x: Apply pull settings to Zero W relevant groups
  ARM: dts: bcm2837-rpi-3-b: add GPIO expander
  ARM: dts: bcm2835: make the firmware node into a bus
  ARM: dts: bcm283x: Fix probing of bcm2835-i2s
  dt-bindings: bcm283x: Fix register ranges of bcm2835-i2s
  ARM: dts: bcm283x: Fix pin function of JTAG pins

6 years agoMerge tag 'bcm2835-dt-next-2018-03-13' into devicetree/next
Florian Fainelli [Tue, 13 Mar 2018 18:44:16 +0000 (11:44 -0700)]
Merge tag 'bcm2835-dt-next-2018-03-13' into devicetree/next

This pull request brings in one last patch to add the BCM2835 DPI
controller to the device tree.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
6 years agoarm64: dts: renesas: r8a7795: Add missing SYS-DMAC2 dmas
Geert Uytterhoeven [Mon, 12 Mar 2018 14:24:14 +0000 (15:24 +0100)]
arm64: dts: renesas: r8a7795: Add missing SYS-DMAC2 dmas

On R-Car H3, on-chip peripheral modules that can make use of DMA are
wired to either SYS-DMAC0 only, or to both SYS-DMAC1 and SYS-DMAC2.

Add the missing DMA properties pointing to SYS-DMAC2 for HSCIF[0-2],
SCIF[0125], and I2C[0-2].  These were initially left out because early
firmware versions prohibited using SYS-DMAC2.  This restriction has been
lifted in IPL and Secure Monitor Rev1.0.6 (released on Feb 25, 2016).

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a7795: Add IPMMU-PV1 device node
Simon Horman [Tue, 6 Mar 2018 09:34:30 +0000 (10:34 +0100)]
arm64: dts: renesas: r8a7795: Add IPMMU-PV1 device node

Add r8a7795 IPMMU-PV1 and keep it disabled by default.

This device is not present in r8a7795 ES1.x and
is removed from the DT of those SoCs.

This corrects an omission in
3b7e7848f0e8 ("arm64: dts: renesas: r8a7795: Add IPMMU device nodes")

This does not have any runtime effect.

Reported-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
6 years agoarm64: dts: renesas: r8a77970: sort subnodes of root node alphabetically
Geert Uytterhoeven [Mon, 5 Mar 2018 17:24:55 +0000 (18:24 +0100)]
arm64: dts: renesas: r8a77970: sort subnodes of root node alphabetically

Sort root sub-nodes alphabetically for allow for easier maintenance of
this file.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: eagle: add I2C0 support
Sergei Shtylyov [Sat, 3 Mar 2018 19:07:16 +0000 (22:07 +0300)]
arm64: dts: renesas: eagle: add I2C0 support

Define the Eagle board dependent part of the I2C0 device node.

The I2C0 bus is populated by ON Semiconductor PCA9653 I/O expander and
Analog Devices ADV7511W HDMI transmitter (but we're only describing the
former chip now).

Based on the original (and large) patch by Vladimir Barinov.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77970: add I2C support
Sergei Shtylyov [Sat, 3 Mar 2018 19:06:21 +0000 (22:06 +0300)]
arm64: dts: renesas: r8a77970: add I2C support

Define the generic R8A77970 parts of the I2C[0-4] device node.

Based on the original (and large) patch by Daisuke Matsushita
<daisuke.matsushita.ns@hitachi.com>.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77965-salvator-xs: Add SoC name to file header
Geert Uytterhoeven [Fri, 2 Mar 2018 12:02:21 +0000 (13:02 +0100)]
arm64: dts: renesas: r8a77965-salvator-xs: Add SoC name to file header

Document clearly which SoC this DTS applies to, to distinguish from
Salvator-XS boards equipped with other SoCs.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77965: Add EtherAVB device node
Jacopo Mondi [Tue, 27 Feb 2018 10:22:54 +0000 (11:22 +0100)]
arm64: dts: renesas: r8a77965: Add EtherAVB device node

Populate the ethernet@e6800000 device node to enable Ethernet interface
for R-Car M3-N (R8A77965) SoC.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77970: Set EtherAVB phy mode to "rgmii"
Jacopo Mondi [Tue, 27 Feb 2018 10:22:53 +0000 (11:22 +0100)]
arm64: dts: renesas: r8a77970: Set EtherAVB phy mode to "rgmii"

Set the "phy-mode" property of EtherAVB device to "rgmii" and let board
files override it if the installed PHY layer provides delays for the
RX/TX channels.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77995: Set EtherAVB phy mode to "rgmii"
Jacopo Mondi [Tue, 27 Feb 2018 10:22:52 +0000 (11:22 +0100)]
arm64: dts: renesas: r8a77995: Set EtherAVB phy mode to "rgmii"

Set the "phy-mode" property of EtherAVB device to "rgmii" and let board
files override it if the installed PHY layer provides delays for the
RX/TX channels.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a7795: Set EtherAVB phy mode to "rgmii"
Jacopo Mondi [Tue, 27 Feb 2018 10:22:51 +0000 (11:22 +0100)]
arm64: dts: renesas: r8a7795: Set EtherAVB phy mode to "rgmii"

Set the "phy-mode" property of EtherAVB device to "rgmii" and let board
files override it if the installed PHY layer provides delays for the
RX/TX channels.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a7796: Set EtherAVB phy mode to "rgmii"
Jacopo Mondi [Tue, 27 Feb 2018 10:22:50 +0000 (11:22 +0100)]
arm64: dts: renesas: r8a7796: Set EtherAVB phy mode to "rgmii"

Set the "phy-mode" property of EtherAVB device to "rgmii" and let board
files override it if the installed PHY layer provides delays for the
RX/TX channels.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: v3msk: Override EtherAVB phy-mode
Jacopo Mondi [Tue, 27 Feb 2018 10:22:49 +0000 (11:22 +0100)]
arm64: dts: renesas: v3msk: Override EtherAVB phy-mode

As the PHY interface installed on the V3MSK board provides TX and RX
channels delays, make the "phy-mode" property a board-specific one,
meant to override the one specified in the SoC DTSI.

Follow up patches will reset the r8a77970 SoC DTSI to use "rgmii"
mode and let the board file override that.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: eagle: Override EtherAVB phy-mode
Jacopo Mondi [Tue, 27 Feb 2018 10:22:48 +0000 (11:22 +0100)]
arm64: dts: renesas: eagle: Override EtherAVB phy-mode

As the PHY interface installed on the Eagle board provides TX and RX
channels delays, make the "phy-mode" property a board-specific one,
meant to override the one specified in the SoC DTSI.

Follow up patches will reset the r8a77970 SoC DTSI to use "rgmii" mode
and let the board file override that.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: draak: Override EtherAVB phy-mode
Jacopo Mondi [Tue, 27 Feb 2018 10:22:47 +0000 (11:22 +0100)]
arm64: dts: renesas: draak: Override EtherAVB phy-mode

As the PHY interface installed on the Draak board, provides TX
channel delay, make the "phy-mode" property a board-specific one, meant
to override the one specified in the SoC DTSI.

Follow up patches will reset the r8a77995 SoC DTSI to use "rgmii" mode
and let the board file override that.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: ulcb: Override EtherAVB phy-mode
Jacopo Mondi [Tue, 27 Feb 2018 10:22:46 +0000 (11:22 +0100)]
arm64: dts: renesas: ulcb: Override EtherAVB phy-mode

As the PHY interface installed on the ULCB board provides TX
channel delay, make the "phy-mode" property a board-specific one, meant
to override the one specified in the SoC DTSI.

Follow up patches will reset the r8a7795/96 SoC DTSI to use "rgmii" mode\
and let the board files override that.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: salvator-common: Override EtherAVB phy-mode
Jacopo Mondi [Tue, 27 Feb 2018 10:22:45 +0000 (11:22 +0100)]
arm64: dts: renesas: salvator-common: Override EtherAVB phy-mode

As the PHY interface installed on the Salvator-X[S] board, provides TX
channel delay, make the "phy-mode" property a board-specific one, meant
to override the one specified in the SoC DTSI.

Follow up patches will reset the r8a7795/96/965 SoC DTSI to use "rgmii"
mode and let the board files override that.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77965: Add INTC-EX device node
Geert Uytterhoeven [Mon, 26 Feb 2018 15:42:23 +0000 (16:42 +0100)]
arm64: dts: renesas: r8a77965: Add INTC-EX device node

Populate the device node for the Interrupt Controller for External
Devices (INTC-EX) on R-Car M3-N, which serves external IRQ pins
IRQ[0-5].

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77965: Add IIC-DVFS device node
Geert Uytterhoeven [Mon, 26 Feb 2018 15:42:22 +0000 (16:42 +0100)]
arm64: dts: renesas: r8a77965: Add IIC-DVFS device node

Populate the device node for the IIC Bus Interface for DVFS (IIC for
DVFS) on R-Car M3-N, and add an alias to fix its bus number.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: Add support for Salvator-XS with R-Car M3-N
Takeshi Kihara [Mon, 19 Feb 2018 18:20:55 +0000 (19:20 +0100)]
arm64: dts: renesas: Add support for Salvator-XS with R-Car M3-N

Add initial support for the Renesas Salvator-XS (Salvator-X 2nd version)
development board equipped with an R-Car M3-N SiP.

Most features are enabled through the shared salvator-xs.dtsi board
description.  The memory configuration is specific to the M3-N SiP.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
[geert: Switch to SPDX-License-Identifier, update patch description]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77965: Move usb2_phy1 up
Jacopo Mondi [Fri, 23 Feb 2018 13:40:59 +0000 (14:40 +0100)]
arm64: dts: renesas: r8a77965: Move usb2_phy1 up

Move "usb2_ph1" place-holder device node next to "usb2_phy0" one.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77965: Add #interrupt-cells property
Jacopo Mondi [Fri, 23 Feb 2018 13:40:58 +0000 (14:40 +0100)]
arm64: dts: renesas: r8a77965: Add #interrupt-cells property

Add "#interrupt-cells" property and "interrupt-controller" label to
"interrupt-controller@e61c0000" device node.

This silences the following DTC compiler warnings:
Warning (interrupts_property): Missing interrupt-controller or
interrupt-map property in /soc/interrupt-controller@e61c0000
Warning (interrupts_property): Missing #interrupt-cells in
interrupt-parent /soc/interrupt-controller@e61c000

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77965: Add #pwm-cells property
Jacopo Mondi [Fri, 23 Feb 2018 13:40:57 +0000 (14:40 +0100)]
arm64: dts: renesas: r8a77965: Add #pwm-cells property

Add "#pwm-cells" property to "pwm@e6e31000" device node.

This silences the following DTC compiler warning:
Warning (pwms_property): Missing property '#pwm-cells' in node
/soc/pwm@e6e31000 or bad phandle (referred from /backlight:pwms[0])

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77965: Add #phy-cells property
Jacopo Mondi [Fri, 23 Feb 2018 13:40:56 +0000 (14:40 +0100)]
arm64: dts: renesas: r8a77965: Add #phy-cells property

Add "#phy-cells" property to "usb-phy@e65ee000" device node.

This silences the following DTC compiler warning:
Warning (phys_property): Missing property '#phy-cells' in node
/soc/usb-phy@e65ee000 or bad phandle (referred from
/soc/usb@ee020000:phys[0])

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77965: Remove stale reg property
Jacopo Mondi [Fri, 23 Feb 2018 13:40:55 +0000 (14:40 +0100)]
arm64: dts: renesas: r8a77965: Remove stale reg property

Remove "reg" property from cache-controller-0 device node as it does not
have any unit address.

This silences the following DTC compiler warning:
Warning (unit_address_vs_reg): Node /cpus/cache-controller-0 has a reg
or ranges property, but no unit name

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77965: Add #address-cells and #size-cells
Jacopo Mondi [Fri, 23 Feb 2018 13:40:54 +0000 (14:40 +0100)]
arm64: dts: renesas: r8a77965: Add #address-cells and #size-cells

Add "#address-cells" and "#size-cells" properties to all place-holder nodes
that have children nodes defined by salvator-x[s].dtsi device tree.

This silences the following DTC compiler warnings:
Warning (reg_format): "reg" property in /soc/.. has invalid length (4 bytes)
(#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells
value for /soc/...
Warning (avoid_default_addr_size): Relying on default #size-cells value
for /soc/...

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77965: Add "reg" properties
Jacopo Mondi [Fri, 23 Feb 2018 13:40:53 +0000 (14:40 +0100)]
arm64: dts: renesas: r8a77965: Add "reg" properties

Add "reg" properties to place-holder nodes with unit address defined for
R-Car M3-N SoC.

This silences the following DTC compiler warning:
Warning (unit_address_vs_reg): Node /soc/... has a unit name,
but no reg property

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77965: Add GPIO nodes
Jacopo Mondi [Tue, 20 Feb 2018 15:12:18 +0000 (16:12 +0100)]
arm64: dts: renesas: r8a77965: Add GPIO nodes

Add GPIO nodes to r8a77965 SoC device tree file.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77965: Add SCIF device nodes
Jacopo Mondi [Tue, 20 Feb 2018 15:12:16 +0000 (16:12 +0100)]
arm64: dts: renesas: r8a77965: Add SCIF device nodes

Add SCIF[0-5] device nodes for M3-N (r8a77965) SoC.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a77965: Add dmac device nods
Jacopo Mondi [Tue, 20 Feb 2018 15:12:13 +0000 (16:12 +0100)]
arm64: dts: renesas: r8a77965: Add dmac device nods

Add dmac[0-2] device nodes for R-Car M3-N (r8a77965) SoC.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: Add R-Car Salvator-x M3-N support
Jacopo Mondi [Tue, 20 Feb 2018 15:12:11 +0000 (16:12 +0100)]
arm64: dts: renesas: Add R-Car Salvator-x M3-N support

Add basic support for R-Car Salvator-X M3-N (R8A77965) board.

Based on original work from:
Takeshi Kihara <takeshi.kihara.df@renesas.com>
Magnus Damm <damm+renesas@opensource.se>

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: initial R8A77965 SoC device tree
Jacopo Mondi [Tue, 20 Feb 2018 15:12:10 +0000 (16:12 +0100)]
arm64: dts: renesas: initial R8A77965 SoC device tree

Basic support for the Gen 3 R-Car M3-N SoC.

Based on original work from:
Takeshi Kihara <takeshi.kihara.df@renesas.com>
Magnus Damm <damm+renesas@opensource.se>

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: add Renesas R8A77965 support
Jacopo Mondi [Tue, 20 Feb 2018 15:12:09 +0000 (16:12 +0100)]
arm64: add Renesas R8A77965 support

Add configuration option for the R-Car M3-N (R8A77965) SoC.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a7795: Update OPPs to support CA53 dfs
Dien Pham [Mon, 29 Jan 2018 18:21:21 +0000 (19:21 +0100)]
arm64: dts: renesas: r8a7795: Update OPPs to support CA53 dfs

Describe frequencies, other than the default for CA53 cores.  This is a
pre-requisite for using providing alternative frequencies for use with
CPUFreq with these cores.

Signed-off-by: Dien Pham <dien.pham.ry@renesas.com>
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: renesas: r8a7796: Update OPPs to support CA53 dfs
Dien Pham [Mon, 29 Jan 2018 18:21:20 +0000 (19:21 +0100)]
arm64: dts: renesas: r8a7796: Update OPPs to support CA53 dfs

Describe frequencies, other than the default for CA53 cores.  This is a
pre-requisite for using providing alternative frequencies for use with
CPUFreq with these cores.

Signed-off-by: Dien Pham <dien.pham.ry@renesas.com>
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: NSP: Switch to port 8 for CPU port
Florian Fainelli [Tue, 27 Feb 2018 20:45:19 +0000 (12:45 -0800)]
ARM: dts: NSP: Switch to port 8 for CPU port

Now that we have added support for pre-pended Broadcom tags with commit
11606039604c ("net: dsa: b53: Support prepended Broadcom tags") we can
switch all the Northstar Plus reference boards to use port 8 for the CPU
port. This allows us to prepare room for supporting the Flow Accelerator
2 NAPT offload, and frees up port 5 to be made fully configurable for
the modes that it supports: internal, SGMII, RGMII etc.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
6 years agoARM: bcm2835: Add the DPI hardware to the device tree.
Eric Anholt [Fri, 9 Mar 2018 23:36:39 +0000 (15:36 -0800)]
ARM: bcm2835: Add the DPI hardware to the device tree.

It's currently marked disabled, as it's not useful without a panel
associated with it and the GPIO pins routed to ALT2.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
6 years agoARM: dts: exynos: Fix "debounce-interval" property misspelling in Midas
Geert Uytterhoeven [Tue, 13 Feb 2018 14:15:30 +0000 (15:15 +0100)]
ARM: dts: exynos: Fix "debounce-interval" property misspelling in Midas

"debounce-inteval" was never supported.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
6 years agoARM: dts: Keystone: add ECC error handler support
Murali Karicheri [Mon, 12 Mar 2018 07:10:07 +0000 (09:10 +0200)]
ARM: dts: Keystone: add ECC error handler support

Add emif node for keystone2 devices, which is used for ECC support.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
[t-kristo@ti.com: made emif enabled by default for all keystone2 devices]
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
6 years agoARM: dts: keystone-k2g: add watchdog support
Tero Kristo [Mon, 12 Mar 2018 07:10:06 +0000 (09:10 +0200)]
ARM: dts: keystone-k2g: add watchdog support

Add a watchdog node for keystone-k2g, with the corresponding clock and
power domain handles.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
6 years agoMerge tag 'at91-ab-4.17-dt' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Mon, 12 Mar 2018 14:05:54 +0000 (15:05 +0100)]
Merge tag 'at91-ab-4.17-dt' of ssh://gitolite./linux/kernel/git/abelloni/linux into next/dt

Pull "AT91 DT for 4.17" from Alexandre Belloni:

Not much this cycle, mainly changes on the Axentia boards from Peter and
a cleanup from Bartosz:

 - use 'atmel' as at24 manufacturer
 - device addition and fixes for axentia boards
 - fix sama5d4 pinctrl compatible

* tag 'at91-ab-4.17-dt' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/abelloni/linux:
  ARM: dts: at91: use 'atmel' as at24 manufacturer for at91sam9263ek
  ARM: dts: at91: use 'atmel' as at24 manufacturer for at91-sama5d2_ptc_ek
  ARM: dts: at91: use 'atmel' as at24 manufacturer for at91sam9g20ek
  ARM: dts: at91: use 'atmel' as at24 manufacturer for at91sam9260ek
  ARM: dts: at91: use 'atmel' as at24 manufacturer for sama5d34ek
  ARM: dts: at91: sama5d4: fix pinctrl compatible string
  ARM: dts: at91: tse850: make the sound dai cell count explicit
  ARM: dts: at91: nattis: add lvds-encoder
  ARM: dts: at91: nattis: use up-to-date mtd partitions
  ARM: dts: at91: tse850: use the correct compatible for the eeprom
  ARM: dts: at91: nattis: use the correct compatible for the eeprom
  ARM: dts: at91: sam9rl: Properly assign copyright

6 years agoMerge tag 'mvebu-dt64-4.17-1' of git://git.infradead.org/linux-mvebu into next/dt
Arnd Bergmann [Mon, 12 Mar 2018 14:00:48 +0000 (15:00 +0100)]
Merge tag 'mvebu-dt64-4.17-1' of git://git.infradead.org/linux-mvebu into next/dt

Pull "mvebu dt64 for 4.17 (part 1)" from Gregory CLEMENT:

- convert to the SPDX-License-Identifier
- add missing clocks (for the registers) on some of the peripherals
- use the new nand driver
- add more uart for Armada 7K/8K SoCs

* tag 'mvebu-dt64-4.17-1' of git://git.infradead.org/linux-mvebu:
  ARM64: dts: marvell: armada-cp110: Add apb_pclk clock for the uart nodes
  arm64: dts: marvell: use reworked NAND controller driver on Armada 8K
  arm64: dts: marvell: use reworked NAND controller driver on Armada 7K
  ARM64: dts: marvell: armada-cp110: Add registers clock for sata node
  arm64: dts: marvell: armada-8080-db: use SPDX-License-Identifier
  arm64: dts: marvell: armada-8040-mcbin: use SPDX-License-Identifier
  arm64: dts: marvell: armada-8040-db: use SPDX-License-Identifier
  arm64: dts: marvell: armada-7040-db: use SPDX-License-Identifier
  arm64: dts: marvell: armada-3720-espressobin: use SPDX-License-Identifier
  arm64: dts: marvell: armada-3720-db: use SPDX-License-Identifier
  arm64: dts: marvell: use SPDX-License-Identifier for Armada SoCs
  arm64: dts: marvell: mcbin: fix board name typo
  arm64: dts: marvell: mcbin: enable uart headers
  arm64: dts: marvell: add CP110 uart peripherals
  ARM64: dts: marvell: armada-cp110: Add registers clock for I2C nodes
  ARM64: dts: marvell: armada-cp110: Add registers clock for SPI nodes

6 years agoMerge tag 'mvebu-dt-4.17-1' of git://git.infradead.org/linux-mvebu into next/dt
Arnd Bergmann [Mon, 12 Mar 2018 13:59:23 +0000 (14:59 +0100)]
Merge tag 'mvebu-dt-4.17-1' of git://git.infradead.org/linux-mvebu into next/dt

Pull "mvebu dt for 4.17 (part 1)" from Gregory CLEMENT:

Most of them are small fixes or cleanup.

Only the change on the clearfog will have a noticeable effect allowing
to use the i2c at an higher frequency.

* tag 'mvebu-dt-4.17-1' of git://git.infradead.org/linux-mvebu:
  ARM: dts: armada388-clearfog: increase speed of i2c0 to 400kHz
  arm: dts: kirkwood: fix error in #sound-dai-cells size
  ARM: dts: kirkwood: Fix "debounce-interval" property misspelling
  ARM: dts: armada: netgear-rn*: fix rtc node name

6 years agoMerge tag 'hisi-arm64-dt-for-4.17' of git://github.com/hisilicon/linux-hisi into...
Arnd Bergmann [Mon, 12 Mar 2018 13:57:49 +0000 (14:57 +0100)]
Merge tag 'hisi-arm64-dt-for-4.17' of git://github.com/hisilicon/linux-hisi into next/dt

Pull "ARM64: DT: Hisilicon SoC DT updates for 4.17" from Wei Xu:

- Add XGE CPLD control support for hip07 SoC
- Disable the SMMU on hip06 and hip07 SoCs becuase of
  the hardware limitation
- Enable HS200 mode for the MMC controller on hi6220 hikey board
- Remove "cooling-{min|max}-level" this kind unused properties
  for hi6220 SoC
- Add watchdog node for hi6220 SoC
- Remove "CPU_NAP" idle state on hikey960 board since it is
  not stable and useless with the updated firmware

* tag 'hisi-arm64-dt-for-4.17' of git://github.com/hisilicon/linux-hisi:
  arm64: dts: Hi3660: Remove 'CPU_NAP' idle state
  arm64: dts: hi6220: enable watchdog
  ARM64: dts: hi6220: Remove "cooling-{min|max}-level" for CPU nodes
  arm64: dts: hikey: Enable HS200 mode on eMMC
  arm64: dts: hisi: Disable hisilicon smmu node on hip06/hip07
  arm64: dts: hisi: add hns-dsaf cpld control for the hip07 SoC

6 years agoMerge tag 'xilinx-dt-for-4.17' of https://github.com/Xilinx/linux-xlnx into next/dt
Arnd Bergmann [Mon, 12 Mar 2018 13:53:21 +0000 (14:53 +0100)]
Merge tag 'xilinx-dt-for-4.17' of https://github.com/Xilinx/linux-xlnx into next/dt

Pull "arm: Xilinx(Zynq and ZynqMP) DT changes for v4.17" from Michal Simek:

- Use SPDX license identifier
- Add Xilinx ZynqMP boards
  zcu100-revC, zcu102-revA/revB/rev1.0, zcu104-revA, zcu106-revA,
  zcu111-revA, zc1751 dc1/dc2/dc3/dc4
- Add Xilinx Zynq boards
  cc108, zc770 dc1/dc2/dc3/dc4
- Add Digilent Zybo Z7
- Minor fixes in current DTSes

* tag 'xilinx-dt-for-4.17' of https://github.com/Xilinx/linux-xlnx: (22 commits)
  arm: dts: zynq: Add Digilent Zybo Z7 board
  arm: zynq: Add support for Xilinx zc770 xm013 dc4 board
  arm: zynq: Add support for Xilinx zc770 xm012 dc3 board
  arm: zynq: Add support for Xilinx zc770 xm011 dc2 board
  arm: zynq: Add support for Xilinx zc770 xm010 dc1 board
  arm: zynq: Add Xilinx cc108 board
  arm: zynq: Add missing address node name in microzed board
  arm: dts: zynq: Use SPDX-License-Identifier
  arm: zynq: Use i2c-mux instead of i2cswitch for pca9548
  arm64: zynqmp: Add support for Xilinx zc1751
  arm64: zynqmp: Add support for Xilinx zc12XX boards
  arm64: zynqmp: Add support for Xilinx zcu111-revA
  arm64: zynqmp: Add support for Xilinx zcu106-revA
  arm64: zynqmp: Add support for Xilinx zcu104-revA
  arm64: zynqmp: Add support for Xilinx zcu102
  arm64: zynqmp: Add support for Xilinx zcu100-revC
  dt-bindings: xilinx: Add description for ZynqMP
  arm64: zynqmp: Add 8-bit bus width property for ep108
  arm64: zynqmp: Added OOB timing settings in zynqmp-ep108.dts
  arm64: zynqmp: Add SPDX license identifier
  ...

6 years agoarm: dts: mt7623: fix USB initialization fails on bananapi-r2
Sean Wang [Fri, 23 Feb 2018 10:16:26 +0000 (18:16 +0800)]
arm: dts: mt7623: fix USB initialization fails on bananapi-r2

Fix that USB initialization fails as below runtime log is present during
booting on bananapi-r2 board by adding missing regulators the USB device
requires. Current regulators USB device uses are being updated with the
correct ones to reflect real configurations which are all from fixed
regulators rather than MT6323 one's output.

xhci-mtk 1a1c0000.usb: 1a1c0000.usb supply vbus not found, using dummy regulator
xhci-mtk 1a240000.usb: 1a240000.usb supply vbus not found, using dummy regulator

Cc: stable@vger.kernel.org
Fixes: f4ff257cd160 ("arm: dts: mt7623: add support for Bananapi R2 (BPI-R2) board")
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
[mb: update kernel log in commit message]
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
6 years agodt-bindings: arm: mediatek: add support for more mt7623 reference boards
Sean Wang [Fri, 23 Feb 2018 10:16:24 +0000 (18:16 +0800)]
dt-bindings: arm: mediatek: add support for more mt7623 reference boards

Update binding document for more mt7623[A,N] reference boards being
supported.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
6 years agodt-bindings: ifc: Fix the unit address format in the examples
Fabio Estevam [Sat, 10 Mar 2018 17:06:21 +0000 (14:06 -0300)]
dt-bindings: ifc: Fix the unit address format in the examples

DTC warnings will be seen if these examples are used in a real dts file
due to a mismatch in the unit address notation.

Align the unit address notation to what is done in the real dts files
as per commit f81d7af79575 ("arm64: dts: fsl: fix ifc simple-bus unit
address format warnings")

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: i.MX25: define SSI FIFO depth
Martin Kaiser [Tue, 6 Mar 2018 21:58:19 +0000 (22:58 +0100)]
ARM: dts: i.MX25: define SSI FIFO depth

According to the i.MX25 reference manuals, each SSI has four FIFOs. All
of those FIFOs can store up to 15 entries.

The fsl_ssi driver's internal default for the FIFO depth in 8. Set our
non-default FIFO depth explicitly in the Device Tree.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoarm64: dts: mt7622: add mmc related device nodes
Sean Wang [Sat, 17 Feb 2018 19:54:50 +0000 (03:54 +0800)]
arm64: dts: mt7622: add mmc related device nodes

add mmc device nodes and proper setup for used pins

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Jimin Wang <jimin.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
6 years agoarm64: dts: mt7622: add usb device nodes
Chunfeng Yun [Sat, 17 Feb 2018 19:54:48 +0000 (03:54 +0800)]
arm64: dts: mt7622: add usb device nodes

add xhci node and usb3 phy nodes

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Tested-by: Jumin Li <jumin.li@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
6 years agoarm64: dts: mt7622: add SATA device nodes
Ryder Lee [Sat, 17 Feb 2018 19:54:47 +0000 (03:54 +0800)]
arm64: dts: mt7622: add SATA device nodes

This patch adds SATA support fot MT7622.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>