Arnd Bergmann [Fri, 15 Jul 2016 21:00:19 +0000 (23:00 +0200)]
Merge tag 'at91-ab-4.8-dt3' of git://git./linux/kernel/git/abelloni/linux into next/dt
Merge "DT Changes for 4.8 #3" from Alexandre Belloni:
- Lot of fixes for dtc warnings
- Separate dtb compilation for ARMv4 and ARMv5
* tag 'at91-ab-4.8-dt3' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux:
ARM: dts: at91: Don't build unnecessary dtbs
ARM: dts: at91: sama5d3x: separate motherboard gmac and emac definitions
ARM: dts: at91: at91sam9g25ek: fix isi endpoint node
ARM: dts: at91: move isi definition to at91sam9g25ek
ARM: dts: at91: fix i2c-gpio node name
ARM: dts: at91: vinco: fix regulator name
ARM: dts: at91: ariag25 : fix onewire node
ARM: dts: at91: sama5d4_ma5d4evk: fix regulator names
ARM: dts: at91: sama5d4_ma5d4: fix regulator names
ARM: dts: at91: sama5d4_xplained: fix regulator names
ARM: dts: at91: sama5d3_xplained: fix regulator name
ARM: dts: at91: sama5d4ek: remove useless lcd_bus
ARM: dts: at91: Fix USB endpoint nodes
Documentation: dt: usb: atmel-usb: add unit-address
ARM: dts: at91: Fix ADC trigger nodes
Documentation: dt: iio: at91_adc: fix trigger node names
Arnd Bergmann [Fri, 8 Jul 2016 09:45:19 +0000 (11:45 +0200)]
ARM: dts: at91: Don't build unnecessary dtbs
Building both ARMv4 and ARMv5 dtbs when SOC_SAM_V4_V5 is an issue for
kernelci because it will then attempt to boot ARMv4 kernels on at91sam9
which doesn't work.
Use CONFIG_SOC_AT91RM9200 and CONFIG_SOC_AT91SAM9 instead.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni [Fri, 15 Jul 2016 09:15:16 +0000 (11:15 +0200)]
ARM: dts: at91: sama5d3x: separate motherboard gmac and emac definitions
Separate the definitions for the emac and the gmac in different files and
include them in the final board dts that uses them.
Solves:
Warning (unit_address_vs_reg): Node /ahb/apb/ethernet@
f0028000 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /ahb/apb/ethernet@
f802c000 has a unit name, but no reg property
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni [Thu, 14 Jul 2016 15:04:50 +0000 (17:04 +0200)]
ARM: dts: at91: at91sam9g25ek: fix isi endpoint node
Add a reg property in the endpoint node as documented in
Documentation/devicetree/bindings/media/video-interfaces.txt
Solves:
Warning (unit_address_vs_reg): Node /ahb/apb/isi@
f8048000/port/endpoint@0 has a unit name, but no reg property
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni [Thu, 14 Jul 2016 14:50:17 +0000 (16:50 +0200)]
ARM: dts: at91: move isi definition to at91sam9g25ek
The ISI is only present on the at91sam9g25, move the definition to the
at91sam9g25ek board dts to avoid warnings.
Solves the following warning for other 9x5ek boards:
Warning (unit_address_vs_reg): Node /ahb/apb/isi@
f8048000 has a unit name, but no reg property
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni [Thu, 14 Jul 2016 14:58:11 +0000 (16:58 +0200)]
ARM: dts: at91: fix i2c-gpio node name
i2c-gpio doesn't need a reg property. Change the node names to i2c-gpio-x
as used in other dts to remove the unit-address.
Solves:
Warning (unit_address_vs_reg): Node /i2c@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /i2c@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /i2c@2 has a unit name, but no reg property
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni [Thu, 14 Jul 2016 14:48:00 +0000 (16:48 +0200)]
ARM: dts: at91: vinco: fix regulator name
vcc_3v3_reg is a fixed regulator and doesn't need a reg property. Remove
its unit-address.
Solves:
Warning (unit_address_vs_reg): Node /fixedregulator@0 has a unit name, but no reg property
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni [Thu, 14 Jul 2016 14:40:17 +0000 (16:40 +0200)]
ARM: dts: at91: ariag25 : fix onewire node
Remove the unit-address from the oneiwire node as it doesn't have a reg
property.
Solves:
Warning (unit_address_vs_reg): Node /onewire@0 has a unit name, but no reg property
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni [Tue, 12 Jul 2016 22:19:58 +0000 (00:19 +0200)]
ARM: dts: at91: sama5d4_ma5d4evk: fix regulator names
vcc_mmc1_reg is a fixed regulators and doesn't need a reg property. Remove
its unit-address.
Solves:
Warning (unit_address_vs_reg): Node /fixedregulator@2 has a unit name, but no reg property
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni [Tue, 12 Jul 2016 22:16:23 +0000 (00:16 +0200)]
ARM: dts: at91: sama5d4_ma5d4: fix regulator names
vcc_3v3_reg and vcc_mmc1_reg are fixed regulators and don't need a
reg property. Remove their unit-address.
Solves:
Warning (unit_address_vs_reg): Node /fixedregulator@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /fixedregulator@1 has a unit name, but no reg property
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni [Tue, 12 Jul 2016 22:10:13 +0000 (00:10 +0200)]
ARM: dts: at91: sama5d4_xplained: fix regulator names
vcc_3v3_reg and vcc_mmc1_reg are fixed regulators and don't need a reg
property. Remove their unit-address.
Solves:
Warning (unit_address_vs_reg): Node /fixedregulator@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /fixedregulator@1 has a unit name, but no reg property
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni [Tue, 12 Jul 2016 22:08:19 +0000 (00:08 +0200)]
ARM: dts: at91: sama5d3_xplained: fix regulator name
vcc_mmc0_reg is a fixed regulator and doesn't need a reg property. Remove
its unit-address.
Solves:
Warning (unit_address_vs_reg): Node /fixedregulator@0 has a unit name, but no reg property
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni [Wed, 13 Jul 2016 18:06:27 +0000 (20:06 +0200)]
ARM: dts: at91: sama5d4ek: remove useless lcd_bus
lcd_bus has never been mainlined and is replaced by the atmel_hlcdc driver.
Remove stale nodes.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni [Tue, 12 Jul 2016 20:45:59 +0000 (22:45 +0200)]
ARM: dts: at91: Fix USB endpoint nodes
Endpoint nodes have a reg property. Add their mandatory unit-address.
This solves:
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep0 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep1 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep2 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep3 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep4 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep5 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep6 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep7 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep8 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep9 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep10 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep11 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep12 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep13 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep14 has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /ahb/gadget@
00400000/ep15 has a reg or ranges property, but no unit name
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni [Tue, 12 Jul 2016 20:45:47 +0000 (22:45 +0200)]
Documentation: dt: usb: atmel-usb: add unit-address
The endpoint nodes have a reg property, they also need a unit-address. Add
them in the example.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni [Tue, 12 Jul 2016 20:16:38 +0000 (22:16 +0200)]
ARM: dts: at91: Fix ADC trigger nodes
The triggers don't need a reg property, remove it when prenset. Also remove
the unit-address from their name.
This solves:
Warning (unit_address_vs_reg): Node /ahb/apb/adc@
fc034000/trigger@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /ahb/apb/adc@
fc034000/trigger@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /ahb/apb/adc@
fc034000/trigger@2 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /ahb/apb/adc@
fc034000/trigger@3 has a unit name, but no reg property
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Alexandre Belloni [Tue, 12 Jul 2016 20:07:59 +0000 (22:07 +0200)]
Documentation: dt: iio: at91_adc: fix trigger node names
The trigger doesn't need the reg property. When it is not defined, the node
name doesn't need a unit-address. Remove them from the example.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Arnd Bergmann [Thu, 14 Jul 2016 13:59:23 +0000 (15:59 +0200)]
Merge tag 'sti-late-v4.8' of git://git./linux/kernel/git/pchotard/sti into next/late
Merge "STi late updates for v4.8" from Patrice Chotard:
- Add STi DT critical clocks declaration
- Remove SPI hack wich has dependecy with critical clocks
These 2 STi DT patches and SPI hack MUST be applied after patches
contained into Stephen Boyd's branch clk-next/clk-st-critical.
This to ensure not to break SPI.
* tag 'sti-late-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti:
spi: st-ssc4: Remove 'no clocking' hack
ARM: sti: stih410-clocks: Identify critical clocks
ARM: sti: stih407-family: Supply defines for CLOCKGEN A0
clk: st: clkgen-pll: Detect critical clocks
clk: st: clkgen-fsyn: Detect critical clocks
clk: st: clk-flexgen: Detect critical clocks
Arnd Bergmann [Thu, 14 Jul 2016 15:34:00 +0000 (17:34 +0200)]
Merge branch 'reset/for-4.8-2' into next/dt
Merging this in avoids a build error that was missed earlier:
In file included from ../arch/arm/boot/dts/meson8b-mxq.dts:48:0:
../arch/arm/boot/dts/meson8b.dtsi:49:53: fatal error: dt-bindings/reset/amlogic,meson8b-reset.h: No such file or directory
* reset/for-4.8-2:
dt-bindings: reset: Add bindings for the Meson SoC Reset Controller
reset: Add support for the Amlogic Meson SoC Reset Controller
reset: Return -ENOTSUPP when not configured
reset: oxnas: Use devm register API and get rid of platform remove
reset: fix Kconfig menu to include reset drivers in sub-menu
reset: zynq: use devm_reset_controller_register()
reset: socfpga: use devm_reset_controller_register()
reset: sunxi: use devm_reset_controller_register()
reset: pistachio: use devm_reset_controller_register()
reset: ath79: use devm_reset_controller_register()
reset: add devm_reset_controller_register API
Arnd Bergmann [Thu, 14 Jul 2016 13:39:27 +0000 (15:39 +0200)]
Merge tag 'tegra-for-4.8-arm-dt' of git://git./linux/kernel/git/tegra/linux into next/dt
Merge "ARM: tegra: Device tree changes for v4.8-rc1" from Thierry Reding:
Some cleanups to existing device tree sources and add Toradex Apalis TK1
support.
* tag 'tegra-for-4.8-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
ARM: tegra: Initial support for Apalis TK1
ARM: tegra: Remove commas from unit addresses on Tegra124
ARM: tegra: Import latest Jetson TK1 spreadsheet
ARM: tegra: Add spaces around = in properties
ARM: tegra: Fix a couple of DTC warnings
Lee Jones [Tue, 7 Jun 2016 11:19:00 +0000 (13:19 +0200)]
spi: st-ssc4: Remove 'no clocking' hack
Due to the newly upstreamed 'critical clocks' API we can now
safely handle clocking in the SPI and I2C drivers without fear
of catastrophically crippling the running platform.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Lee Jones [Tue, 7 Jun 2016 11:19:00 +0000 (13:19 +0200)]
ARM: sti: stih410-clocks: Identify critical clocks
Lots of platforms contain clocks which if turned off would prove fatal.
The only way to recover is to restart the board(s). This driver takes
references to clocks which are required to be always-on. The Common
Clk Framework will then take references to them. This way they will
not be turned off during the clk_disabled_unused() procedure.
In this patch we are identifying clocks, which if gated would render
the STiH410 development board unserviceable.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Lee Jones [Tue, 7 Jun 2016 11:19:00 +0000 (13:19 +0200)]
ARM: sti: stih407-family: Supply defines for CLOCKGEN A0
There are 2 LMI clocks generated by CLOCKGEN A0. We wish to control
them individually and need to use these indexes to do so.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Marcel Ziswiler [Wed, 29 Jun 2016 22:23:17 +0000 (00:23 +0200)]
ARM: tegra: Initial support for Apalis TK1
This patch adds the device tree to support Toradex Apalis TK1 a
computer on module which can be used on different carrier boards.
The module consists of a Tegra TK1 SoC, a PMIC solution, 2 GB of DDR3L
RAM, a bunch of level shifters, an eMMC, a TMP451 temperature sensor
chip, an I210 gigabit Ethernet controller and a SGTL5000 audio codec.
Furthermore, there is a Kinetis MK20DN512 companion micro controller for
analogue, CAN and resistive touch functionality which is not yet
supported. Anything that is not self contained on the module is disabled
by default.
The device tree for the Evaluation Board includes the module's device
tree and enables the supported peripherals of the carrier board (the
Evaluation Board supports almost all of them).
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Marcel Ziswiler [Wed, 29 Jun 2016 22:21:37 +0000 (00:21 +0200)]
ARM: tegra: Remove commas from unit addresses on Tegra124
Remove commas from unit addresses as suggested by Rob Herring upon me
posting initial Apalis TK1 support:
http://article.gmane.org/gmane.linux.ports.tegra/26608
Please keep the remaining 0, notation on the GPU node in place as a
former mainline U-Boot version was looking for that particular notation
in order to perform required fix-ups on it.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Stephen Warren [Tue, 21 Jun 2016 18:51:49 +0000 (12:51 -0600)]
ARM: tegra: Import latest Jetson TK1 spreadsheet
This imports v11 of "Jetson TK1 Development Platform Pin Mux" from
https://developer.nvidia.com/embedded/downloads.
The new version defines the mux option for the MIPI pad ctrl selection.
The OWR pin no longer has an entry in the configuration table because
the only mux option it support is OWR, that feature isn't supported, and
hence can't conflict with any other pin. This pin can only usefully be
used as a GPIO.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Thierry Reding [Fri, 10 Jun 2016 16:55:24 +0000 (18:55 +0200)]
ARM: tegra: Add spaces around = in properties
This seems to have been copied and pasted since the beginning of time,
though only until Tegra124, likely because that DT was written from
scratch or it was fixed along the way.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Thierry Reding [Mon, 7 Mar 2016 16:37:49 +0000 (17:37 +0100)]
ARM: tegra: Fix a couple of DTC warnings
Add unit-addresses to nodes that have a reg property to avoid warnings
on newer versions of DTC.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Olof Johansson [Fri, 8 Jul 2016 03:39:01 +0000 (20:39 -0700)]
Merge tag 'pxa-dt-4.7' of https://github.com/rjarzmik/linux into next/dt
This device-tree pxa update brings :
- pin control nodes for pxa2xx and pxa3xx
- the LCD controller for pxa2xx
- the missing pxa3xx pulse width modulator nodes
- an USB Host fix for pxa3xx
* tag 'pxa-dt-4.7' of https://github.com/rjarzmik/linux:
ARM: dts: pxa3xx: add pincontrol helpers
ARM: dts: pxa: add pinctrl to pxa3xx
ARM: dts: pxa: fix the ohci clock for pxa3xx
ARM: dts: add pincontroller to pxa27x
ARM: dts: pxa: add pxa3xx pwm nodes
ARM: dts: pxa: add pxa framebuffer device
Signed-off-by: Olof Johansson <olof@lixom.net>
Arnd Bergmann [Thu, 7 Jul 2016 13:28:37 +0000 (15:28 +0200)]
Merge tag 'arm-soc/for-4.8/devicetree-part2' of github.com/Broadcom/stblinux into next/dt
Merge "additional Broadcom ARM-based SoC Device Tree changes" from Florian Fainelli:
- Lubomir updates all BCM2835 (Raspberry Pi family) Device Tree source files with
their proper information about the on-board USB Ethernet adapter so there is
appropriate binding between this USB device and a device_node (useful for MAC
address fetching and stuff)
- Raveendra adds the ADC controller Device Tree nodes to the Cygnus SoC device
tree include files
- Rafal updates the BCM5301x Device Tree by separating how we specify the NAND
chip-select information in a first change and then fixes the NAND controller
ECC configuration for the D-Link DIR-885L
- Florian adds support for the BCM953012ER reference board, adds the HW random
number generator DT node and adds proper memory node information to the
BCM958625HR reference board
* tag 'arm-soc/for-4.8/devicetree-part2' of http://github.com/Broadcom/stblinux:
ARM: dts: NSP: Specify RAM amount for BCM958625HR board
ARM: BCM5301X: Fix NAND ECC parameters for D-Link DIR-885L
ARM: BCM5301X: Specify NAND chip select and ECC in separated files
ARM: dts: Cygnus: Add Broadcom iproc-static-adc DT node
ARM: dts: BCM5301x: Add BCM953012ER board
ARM: dts: BCM5301x: Add RNG Device Tree node
ARM: bcm2835: dt: Add the ethernet to the device trees
Arnd Bergmann [Thu, 7 Jul 2016 12:53:43 +0000 (14:53 +0200)]
Merge tag 'hisi-armv7-soc-dt-for-4.8-v2' of git://github.com/hisilicon/linux-hisi into next/dt
Merge "ARM: DT: Hisilicon ARMv7 SoC Hi3519 DT updates for 4.8" from Wei Xu:
- Add device tree bindings for hi3519 sysctrl
- Add dts files for hi3519
- Tidy up DTB makefile entries to keep the list sorted
* tag 'hisi-armv7-soc-dt-for-4.8-v2' of git://github.com/hisilicon/linux-hisi:
ARM: dts: add dts files for Hi3519 and tidy up the makefile entries
ARM: dt-bindings: add device tree bindings for Hi3519 sysctrl
Arnd Bergmann [Thu, 7 Jul 2016 12:46:48 +0000 (14:46 +0200)]
Merge tag 'sunxi-dt-for-4.8' of https://git./linux/kernel/git/mripard/linux into next/dt
Merge "Allwinner DT changes for 4.8" from Maxime Ripard:
The usual amount of DT patches, among which:
- I2S support
- Support for the AXP809 in the relevant boards (A80 based)
- New boards: Banapi M1+, Banapi M2+, Allwinner Parrot (R16 EVB),
- The other patches to enable various controllers on our boards, most
notably USB OTG
* tag 'sunxi-dt-for-4.8' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux: (54 commits)
ARM: dts: sun5i: Enable otg on the auxtex t004
ARM: sun5i: Allow PLL3 2x fixed factor clock to change PLL3 rate
ARM: sun7i: Add DAI nodes
ARM: sun7i: Add mod1 clock nodes
ARM: dts: sun5i: Add mmc1 / sdio-wifi node to mk802
ARM: dts: sun5i: Add axp152 pmic node to mk802
ARM: dts: sun5i: Enable otg on the mk802
ARM: dts: sun7i: Add BCM53125 switch nodes to the lamobo-r1 board
ARM: sun8i: Add Parrot Board DTS
ARM: dts: sun5i: q8-common: Enable USB-based WiFi
ARM: dts: sun7i: Add dts file for Bananapi M1 Plus board
ARM: dts: sun8i-q8-common: Add support for USB wifi controllers
ARM: dts: sun9i: a80-optimus: Order nodes by alphabetical order
ARM: dts: sun9i: cubieboard4: Order nodes by alphabetical order
ARM: dts: sun7i: Add NFC node to Allwinner A20 SoC
ARM: dts: sun4i: Add NFC node to Allwinner A10 SoC
ARM: dts: sun6i: Add pmic / regulator nodes to Mele M9 dts
ARM: dts: sun6i: Add pmic / regulator nodes to Mele A1000G quad dts
ARM: dts: sun6i: The blue led on the Mele M9 is a power led
ARM: dts: sun6i: The blue led on the Mele A1000G quad is a power led
...
Linus Walleij [Mon, 4 Jul 2016 13:10:57 +0000 (15:10 +0200)]
ARM: dts: Ux500: fix up TVK sensor data
- Fix the I2C address and supply line names for the AK8974
- Sets up the interrupt lines to the different components as they
actually are connected, I was confused for some time by the fact
that several lines were connected with <NM> 0 Ohm resistors, which
means NOT MOUNTED and is thus not 0 Ohm at all but infinite ohms,
i.e. not connected at all.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Olof Johansson [Thu, 7 Jul 2016 05:33:05 +0000 (22:33 -0700)]
Merge tag 'tegra-for-4.8-dt-bindings' of git://git./linux/kernel/git/tegra/linux into next/dt
dt-bindings: tegra: Updates for v4.8-rc1
A couple of fixes for the Tegra XUSB controller and Tegra XUSB pad
controller bindings, as well as the addition of some compatible strings
for Tegra-based boards.
* tag 'tegra-for-4.8-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
dt-bindings: tegra: Add Apalis TK1 device tree binding documentation
dt-bindings: tegra: Add Colibri T30 device tree binding documentation
dt-bindings: usb: Fix Tegra XUSB example
dt-bindings: phy: Fix description of Tegra210 PHY nodes
Signed-off-by: Olof Johansson <olof@lixom.net>
Olof Johansson [Thu, 7 Jul 2016 05:22:19 +0000 (22:22 -0700)]
Merge tag 'v4.8-rockchip-dts32-1' of git://git./linux/kernel/git/mmind/linux-rockchip into next/dt
Audio support and spi-flash on rk3288-veyron Chromedevices
as well as i2s and ethernet support on rk3228/rk3229 devices
and a dts file for the rk3229 eval board.
* tag 'v4.8-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
ARM: dts: rockchip: add support rk3229 evb board
ARM: dts: rockchip: add GMAC nodes for RK322x SoCs
ARM: dts: rockchip: add i2s nodes for RK322x SoCs
ARM: dts: rockchip: rename rk3228.dtsi to rk322x.dtsi
clk: rockchip: add clock-ids for rk3228 MAC clocks
clk: rockchip: add clock-ids for rk3228 audio clocks
ARM: dts: rockchip: rename i2s model for Veyron devices
ARM: dts: rockchip: move rk3288 io-domain nodes to the grf
ARM: dts: rockchip: Enable analog audio on rk3288-veyron chromebooks
ARM: dts: rockchip: Add shared file for audio on rk3288-veyron boards
ARM: dts: rockchip: add SPI flash node for rk3288-veyron
Signed-off-by: Olof Johansson <olof@lixom.net>
Olof Johansson [Thu, 7 Jul 2016 05:11:20 +0000 (22:11 -0700)]
Merge tag 'renesas-dt2-for-v4.8' of git://git./linux/kernel/git/horms/renesas into next/dt
Second Round of Renesas ARM Based SoC DT Updates for v4.8
* Use APMU on R-Car Gen2 and provide SMP for r8a7793 SoC
* Update console parameters to uniformly use chosen/stdout-path,
serial0, not provide kernel unnecessary command line parameters
* Add DU pins to silk board
* Add support for blanche/r8a7792
* Name pfc subnodes after device name
* tag 'renesas-dt2-for-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (41 commits)
ARM: dts: r8a7792: add SMP support
ARM: dts: r8a7793: Add APMU node and second CPU core
ARM: dts: r8a7791: Add APMU node
ARM: dts: r8a7790: Add APMU nodes
devicetree: bindings: Renesas APMU and SMP Enable method
ARM: dts: kzm9g: Update console parameters
ARM: dts: kzm9d: Update console parameters
ARM: dts: marzen: Add serial port config to chosen/stdout-path
ARM: dts: genmai: Update console parameters
ARM: dts: armadillo800eva: Update console parameters
ARM: dts: r8a7792: add JPU support
ARM: dts: r8a7792: add JPU clocks
ARM: dts: silk: add DU pins
ARM: dts: blanche: add Ethernet support
ARM: dts: blanche: initial device tree
ARM: dts: blanche: document Blanche board
ARM: dts: r8a7792: add IRQC support
ARM: dts: r8a7792: add [H]SCIF support
ARM: dts: r8a7792: add SYS-DMAC support
ARM: dts: r8a7792: initial SoC device tree
...
Signed-off-by: Olof Johansson <olof@lixom.net>
Florian Fainelli [Wed, 29 Jun 2016 01:04:21 +0000 (18:04 -0700)]
ARM: dts: NSP: Specify RAM amount for BCM958625HR board
Add 512MB of memory starting at physical offset 0x6000_0000.
Fixes:
65e9ac208c8e ("ARM: dts: NSP: Add new DT file for bcm958625hr")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Rafał Miłecki [Mon, 6 Jun 2016 07:43:50 +0000 (09:43 +0200)]
ARM: BCM5301X: Fix NAND ECC parameters for D-Link DIR-885L
This device uses BCH-1 instead of BCH-8. This fixes ECC errors and makes
NAND usable with brcmnand.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Rafał Miłecki [Mon, 6 Jun 2016 07:43:49 +0000 (09:43 +0200)]
ARM: BCM5301X: Specify NAND chip select and ECC in separated files
Using separated file with common chip select parameters will allow us
adding other ECC setups without code duplication.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Alexander Shiyan [Sat, 4 Jun 2016 07:10:04 +0000 (10:10 +0300)]
ARM: dts: clps711x: Add DT Cirrus Logic
EDB7211 Development board
This adds the Cirrus Logic EP7209,EP7211 DT templates and support for
EDB7211 Development board.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Jiancheng Xue [Wed, 15 Jun 2016 02:19:07 +0000 (10:19 +0800)]
ARM: dts: add dts files for Hi3519 and tidy up the makefile entries
- add dts files for Hi3519
- shuffle ARCH_HIGHBANK, ARCH_HISI, ARCH_HIX5HD2 and ARCH_HIP0X
around to keep the list sorted
Signed-off-by: Jiancheng Xue <xuejiancheng@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Olof Johansson [Wed, 6 Jul 2016 05:46:39 +0000 (22:46 -0700)]
Merge tag 'samsung-drivers-exynos-mfc-4.8-2' of git://git./linux/kernel/git/krzk/linux into next/dt
Topic branch for Exynos MFC changes for v4.8, part 2:
Replace hardcoded reserved memory ranges with auto-allocated ones
and enable MFC for all boards.
* tag 'samsung-drivers-exynos-mfc-4.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
ARM: dts: exynos: enable MFC device for all boards
ARM: dts: exynos: move MFC reserved memory regions from boards to .dtsi
ARM: dts: exynos: replace hardcoded reserved memory ranges with auto-allocated ones
ARM: dts: exynos: Enable MFC device on Exynos4412 Odroid boards
ARM: dts: exynos: Convert MFC device to generic reserved memory bindings
ARM: EXYNOS: Remove code for MFC custom reserved memory handling
media: s5p-mfc: add iommu support
media: s5p-mfc: replace custom reserved memory handling code with generic one
media: s5p-mfc: use generic reserved memory bindings
of: reserved_mem: add support for using more than one region for given device
media: set proper max seg size for devices on Exynos SoCs
media: vb2-dma-contig: add helper for setting dma max seg size
s5p-mfc: Fix race between s5p_mfc_probe() and s5p_mfc_open()
s5p-mfc: Add release callback for memory region devs
s5p-mfc: Set device name for reserved memory region devs
Signed-off-by: Olof Johansson <olof@lixom.net>
Olof Johansson [Wed, 6 Jul 2016 05:33:16 +0000 (22:33 -0700)]
Merge tag 'omap-for-v4.8/dt-part2-signed' of git://git./linux/kernel/git/tmlind/linux-omap into next/dt
Second set of device tree updates for omaps for v4.8 merge window.
This is a series of dtc warning fixes when compiled with make W=2
from Javier Martinez Canillas <javier@osg.samsung.com>.
* tag 'omap-for-v4.8/dt-part2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (27 commits)
ARM: dts: am57xx: sbc-am57x: remove unneded unit name
ARM: dts: omap5-board-common: remove unneded unit names
ARM: dts: omap5-cm-t54: remove unneded unit names and add reg properties
ARM: dts: am437x: cm-t43: remove unneded unit names
ARM: dts: am437x-gp-evm: remove unneded unit name
ARM: dts: am43xx-epos-evm: remove unneded unit name
ARM: dts: omap4-var-om44customboard: remove unneded unit name
ARM: dts: omap4-sdp: remove unneded unit names
ARM: dts: omap4-panda-common: remove unneded unit names
ARM: dts: omap4-duovero-parlor: remove unneded unit name
ARM: dts: omap3-thunder: remove unneded unit name
ARM: dts: sbc-t3x30: remove unneded unit names
ARM: dts: omap3-pandora-common: remove unneded unit name
ARM: dts: omap3-overo-common-dvi: remove unneded unit names
ARM: dts: omap3-igep0020-common: remove unneded unit names
ARM: dts: omap3: overo: remove unneded unit names in display nodes
ARM: dts: omap3-ha-lcd: remove unneeded unit name
ARM: dts: omap3-gta04: remove unneeded unit names
ARM: dts: omap3-devkit8000-lcd-common: remove unneeded unit names
ARM: dts: omap3-devkit8000: remove unneeded unit names
...
Signed-off-by: Olof Johansson <olof@lixom.net>
Olof Johansson [Wed, 6 Jul 2016 04:00:05 +0000 (21:00 -0700)]
Merge tag 'imx-dt-4.8' of git://git./linux/kernel/git/shawnguo/linux into next/dt
The i.MX device tree update for 4.8:
- Add two i.MX23/STMP3780 based MP3 player device support, Creative
X-Fi3 and SanDisk Sansa Fuze+
- Add the support of Auvidea H100 device which is a SolidRun MicroSOM
baseboard
- Restructure i.MX7Dual DTS files to support i.MX7Solo and add Toradex
Colibri iMX7S/iMX7D boards
- Device additions and enabling for various boards: mmc device for
utilite-pro, IRQ controller and CAN support for TS-4800, display and
touchscreen support for imx7d-sdb, SAI audio and LCD support for
imx6ul-14x14-evk, gpio power off support for imx6q-bx50v3, etc.
- Update the boards from Freescale/NXP to use WDOG_B pin for reset
- PCI reset polarity correction for imx6qdl-sabresd and imx6q-tbs2910
- Update i.MX board dts files to use generic uart-has-rtscts DT
property instead of vendor specific one
- DTC warning fixing for a few boards which are mostly mismatch between
unit-address and reg property
- Remove SION setting from all mux modes on i.MX25
* tag 'imx-dt-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (47 commits)
ARM: dts: imx7: add Toradex Colibri iMX7S/iMX7D support
ARM: dts: imx7d: move input header into base device tree
ARM: dts: imx7d: recreate imx7d.dtsi with i.MX 7Dual specifics
ARM: dts: imx7d: use imx7s.dtsi as base device tree
ARM: dts: imx7d-sdb: Add support for touchscreen
ARM: dts: imx7d-sdb: Add display support
ARM: dts: imx7d: Add SPI support
ARM: dts: imx6q-bx50v3: Add gpio power off support
ARM: dts: imx6ul-pico-hobbit: Fix Ethernet PHY reset GPIO
ARM: dts: imx6q-tbs2910: fix pcie reset polarity
ARM: dts: imx6sx-sdb: Use WDOG_B pin reset
ARM: dts: imx6ul-evk: Use WDOG_B pin reset
ARM: dts: imx7d-sdb: Use WDOG_B pin reset
ARM: dts: imx6qdl-sabresd: Use WDOG_B pin reset
ARM: dts: utilite-pro: add mmc card slot support
ARM: dts: imx6q-cm-fx6: fix the operation points
ARM: dts: imx6qdl.dtsi: add "arm,shared-override" for pl310
ARM: imx25-pinfunc: remove SION from all modes
ARM: imx25-pinfunc: document SION being important for MX25_PAD_SD1_CMD__SD1_CMD
ARM: dts: ls1021a: Add dis_rxdet_inp3_quirk property to USB3 node
...
Signed-off-by: Olof Johansson <olof@lixom.net>
Florian Fainelli [Wed, 6 Jul 2016 03:45:58 +0000 (20:45 -0700)]
Merge tag 'bcm2835-dt-next-2016-07-03' into devicetree/next
This pull request brings in the change to describe the ethernet in the
DT so that the firmware can tell us its MAC address.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Raveendra Padasalagi [Tue, 28 Jun 2016 07:40:36 +0000 (13:10 +0530)]
ARM: dts: Cygnus: Add Broadcom iproc-static-adc DT node
This patch adds the DT node for Broadcom's iproc-static-adc
controller driver.
Signed-off-by: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Hans de Goede [Wed, 29 Jun 2016 18:46:59 +0000 (20:46 +0200)]
ARM: dts: sun5i: Enable otg on the auxtex t004
The auxtek t004 has its otg usb vbus hardwired to 5v (likely in case
people use it to power the board instead of the dedicated power micro
usb connector), it does have an id pin, so it allows full otg
functionality.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Olof Johansson [Tue, 5 Jul 2016 05:38:25 +0000 (22:38 -0700)]
Merge tag 'qcom-dt-for-4.8' of git://git./linux/kernel/git/agross/linux into next/dt
Qualcomm Device Tree Changes for v4.8
* Reverse BAM dma node reverts
* Add BAM remote control options for affected platforms
* Enable peripherals on APQ8074 dragonboard
* Enable PMA8084 pwrky
* Fix PMIC reg entries by removing unnecessary size element
* Add SCM binding and support for all currently supported boards
* Add Qualcomm WCNSS binding documentation
* Rename db600c to SD_600eval and add peripheral nodes
* Remove gpio key entry from Nexus7
* Add APQ8060 based dragonboard and associated peripherals
* Add ARMv7 PMU for IPQ4019
* Update smem state cells to match documentation
* tag 'qcom-dt-for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: (26 commits)
dts: ipq4019: support ARMv7 PMU
ARM: dts: add Qualcomm APQ8060-based Dragonboard
ARM: dts: move the fixed MMC regulator to SURF board
ARM: dts: fix the MSM8660 RTC base address
ARM: dts: add I2C block in GSBI12
ARM: dts: add L2CC and RPM with regulators for MSM8660
ARM: dts: add SDCC5 to Qualcomm MSM8660
ARM: dts: add GPIO and MPP to MSM8660 PMIC
device-tree: nexus7: Remove power gpio key entry and use pmic8xxx-pwrkey
arm: dts: qcom: Update smem state cells usage
ARM: dts: qcom: msm8974-honami: Set DMA as remotely controlled
ARM: dts: sd_600eval: Fix eMMC lockup issue
ARM: dts: apq8064: rename db600c to SD_600eval
ARM: dts: apq8064: move sdcc3 pinctrls out of baord file
ARM: dts: apq8064: move sdcc1 pinctrl nodes to soc file
dt: binding: Add Qualcomm WCNSS control binding
dts: qcom: apq8064: Add SCM firmware node
dts: qcom: msm8974: Add SCM firmware node
dts: qcom: apq8084: Add SCM firmware node
dt/bindings: firmware: Add Qualcomm SCM binding
...
Signed-off-by: Olof Johansson <olof@lixom.net>
Olof Johansson [Tue, 5 Jul 2016 04:48:14 +0000 (21:48 -0700)]
Merge tag 'omap-for-v4.8/dt-part1-signed-v2' of git://git./linux/kernel/git/tmlind/linux-omap into next/dt
Device tree changes for omaps for v4.8 merge window:
- PWM binding updates and related dts changes
- OCM RAM updates for dra7
- Enable n900 lirc-rx51 driver
- omap3-gta04 updates for backlight, bma180, itg3200, hmc5843 and wifi
- am335x, am437x and am57xx operating point updates and additions
- am335x-icev2 pca9536 node
- dra72-evm regulator updates
- edma spelling fixes
- am335x and am437x ethernet phy update
- a series of mcbsp updates
- omap3-gta04 eeprom
- dra7 PCIe unit address fix
- stdout-path for beaglebone variants
- crypto accelerator nodes for am335x, am437x and dra7
* tag 'omap-for-v4.8/dt-part1-signed-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (42 commits)
ARM: dts: AM43xx: Add node for RNG
ARM: dts: AM43xx: clk: Add RNG clk node
ARM: dts: DRA7: Add DT node for RNG IP
ARM: dts: DRA7: Add support for SHA IP
ARM: dts: DRA7: Add DT nodes for AES IP
ARM: dts: DRA7: Add DT node for DES IP
ARM: dts: am335x-bone-common: use stdout-path in Beaglebone boards.
ARM: dts: DRA7: fix unit address of second PCIe instance
ARM: dts: omap3-gta04: Add RFID eeprom node
ARM: dts: omap4-duovero: Add pdmclk binding for audio
ARM: dts: omap4-var-som-om44: Add pdmclk binding for audio
ARM: dts: omap4-sdp: Add pdmclk binding for audio
ARM: dts: omap4-panda-common: Add pdmclk binding for audio
ARM: dts: omap5-board-common: Add pdmclk binding for audio
ARM: dts: omap3: Add clocks to McBSP nodes
ARM: dts: am335x-bone-common: Mark MAC as having only one PHY
ARM: dts: am437x-idk-evm: Mark MAC as having only one PHY
ARM: dts: Correct misspelling, "emda3" -> "edma3"
ARM: dts: dra72-evm: Rename 3.3V regulator tag
ARM: dts: am335x-icev2: Add DT node for TI PCA9536
...
Signed-off-by: Olof Johansson <olof@lixom.net>
Olof Johansson [Tue, 5 Jul 2016 04:15:39 +0000 (21:15 -0700)]
Merge tag 'at91-ab-4.8-dt2' of git://git./linux/kernel/git/abelloni/linux into next/dt
DT Changes for 4.8 #2:
- New board: at91sam9260ek
- Fixes for the sam9_l9260
- Sama5d2 Xplained PMIC fix
- Addition of the PMU node for the sama5d2
* tag 'at91-ab-4.8-dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux:
ARM: dts: at91: sama5d2_xplained: Update the pmic node
ARM: dts: at91: sama5d2: add PMU node
ARM: dts: at91: sam9_l9260: Modify information in LED nodes.
ARM: dts: at91: sam9_l9260: Add pinctrl information to ethernet node.
ARM: dts: at91: add at91sam9260ek board DT
Signed-off-by: Olof Johansson <olof@lixom.net>
Olof Johansson [Tue, 5 Jul 2016 03:46:16 +0000 (20:46 -0700)]
Merge tag 'keystone_dts_for_4.8' of git://git./linux/kernel/git/ssantosh/linux-keystone into next/dt
ARM: Keystone DTS update for 4.8
- Pinmux entries for K2G
- PCI DTS entry fixup
* tag 'keystone_dts_for_4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone:
ARM: dts: k2g-evm: Add pinmuxing for UART0
ARM: dts: keystone: Header file for pinctrl constants
ARM: dts: k2g: Add pinctrl support
ARM: dts: keystone-k2l: Add pinctrl node
ARM: dts: keystone: add interrupt property to PCI controller bindings
ARM: dts: keystone: remove bogus IO resource entry from PCI binding
Signed-off-by: Olof Johansson <olof@lixom.net>
Maxime Ripard [Wed, 22 Jun 2016 09:15:55 +0000 (11:15 +0200)]
ARM: sun5i: Allow PLL3 2x fixed factor clock to change PLL3 rate
In order to be able to properly generate its pixel clock, the pll3-2x fixed
factor needs to be able to change the PLL3 rate too.
Add the needed extra compatible so that it behaves that way.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Maxime Ripard [Sat, 19 Sep 2015 14:48:00 +0000 (16:48 +0200)]
ARM: sun7i: Add DAI nodes
Add the new DAI blocks to the device tree.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Emilio López [Fri, 18 Jul 2014 18:26:08 +0000 (15:26 -0300)]
ARM: sun7i: Add mod1 clock nodes
This commit adds all the mod1 clocks available on A20 to its device
tree. This list was created by looking at the A20 user manual.
Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Wed, 29 Jun 2016 18:47:02 +0000 (20:47 +0200)]
ARM: dts: sun5i: Add mmc1 / sdio-wifi node to mk802
The a10s mk802 uses a rtl8189es sdio wifi chip, add a node enabling
the mmc1 controller, this enables using the wifi chip (together with
an out of tree sdio driver for it).
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Wed, 29 Jun 2016 18:47:01 +0000 (20:47 +0200)]
ARM: dts: sun5i: Add axp152 pmic node to mk802
Add a node describing the axp152 pmic to the mk802 dts, note there are
no regulator nodes as we do not yet support the regulators on the
axp152.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Wed, 29 Jun 2016 18:47:00 +0000 (20:47 +0200)]
ARM: dts: sun5i: Enable otg on the mk802
Enable the otg controller, the id pin is not connected so enable
it in peripheral only mode.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Florian Fainelli [Tue, 28 Jun 2016 00:45:56 +0000 (17:45 -0700)]
ARM: dts: sun7i: Add BCM53125 switch nodes to the lamobo-r1 board
Now that we have a proper binding for Ethernet switches hanging off
different buses, and a driver for the BCM53125 switch, add its Device
Tree as a child MDIO node, at MDIO address 30 (Broadcom pseudo-PHY
address) and describe the ports layout of the Lamobo R1 board.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Quentin Schulz [Fri, 24 Jun 2016 10:10:01 +0000 (12:10 +0200)]
ARM: sun8i: Add Parrot Board DTS
The Parrot Board is an evaluation board with an Allwinner R16 (assumed
to be close to an Allwinner A33), 4GB of eMMC, 512MB of RAM, USB host
and OTG, a WiFi/Bluetooth combo chip, a micro SD Card reader, 2
controllable buttons, an LVDS port with separated backlight and
capacitive touch panel ports, an audio/microphone jack, a camera CSI
port, 2 sets of 22 GPIOs and an accelerometer.
Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Chen-Yu Tsai [Thu, 23 Jun 2016 09:29:15 +0000 (17:29 +0800)]
ARM: dts: sun5i: q8-common: Enable USB-based WiFi
The early A13 Q8 tablets all use a Realtek WiFi module connected to
USB1. The module is powered by AXP209's LDO3 at 3.3V.
Move the related settings from sun5i-a13-q8-tablet.dts to
sun5i-q8-common.dtsi, for all q8-based tablets.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Luo Yi [Fri, 17 Jun 2016 09:56:02 +0000 (17:56 +0800)]
ARM: dts: sun7i: Add dts file for Bananapi M1 Plus board
Add support for the Bananapi M1 Plus A20 development board from
sinovoip.com.cn . This board is nearly a clone of the Lemaker's
Bananapro, but differ with the wlan chipset connection and i2s pinout.
And I also enable the integrated audio codec on default.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Wed, 15 Jun 2016 18:23:50 +0000 (20:23 +0200)]
ARM: dts: sun8i-q8-common: Add support for USB wifi controllers
Some of the sun8i q8 boards have an usb wifi controller, on other
variants this will result in an used usb root-hub, but the best
way to deal with wifi on this boards is to simply let the kernel
auto-detect usb or sdio wifi controllers.
This has been tested on an a23 based q8 tablet with a RTL8188ETV wifi
controller.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Chen-Yu Tsai [Wed, 15 Jun 2016 10:27:46 +0000 (18:27 +0800)]
ARM: dts: sun9i: a80-optimus: Order nodes by alphabetical order
Move the mmc nodes above the ohci nodes for proper ordering by name.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Chen-Yu Tsai [Wed, 15 Jun 2016 10:27:45 +0000 (18:27 +0800)]
ARM: dts: sun9i: cubieboard4: Order nodes by alphabetical order
Move the &pio node below the mmc nodes for proper ordering by name.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Boris Brezillon [Tue, 14 Jun 2016 11:17:38 +0000 (14:17 +0300)]
ARM: dts: sun7i: Add NFC node to Allwinner A20 SoC
Add NAND Flash controller node definition to the A20 SoC.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Boris Brezillon [Tue, 14 Jun 2016 11:17:36 +0000 (14:17 +0300)]
ARM: dts: sun4i: Add NFC node to Allwinner A10 SoC
Add NAND Flash controller node definition to the A10 SoC.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Sun, 12 Jun 2016 11:07:01 +0000 (13:07 +0200)]
ARM: dts: sun6i: Add pmic / regulator nodes to Mele M9 dts
Add pmic / regulator nodes to Mele M9 dts.
Note both reg_usb1_vbus and reg_dldo4 need to be on for the hub attached
to usb1 to work, and we can list only one usb1_vbus-supply, so dldo4 is
marked as regulator-always-on.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Sun, 12 Jun 2016 11:07:00 +0000 (13:07 +0200)]
ARM: dts: sun6i: Add pmic / regulator nodes to Mele A1000G quad dts
Add pmic / regulator nodes to Mele A1000G quad dts.
Note both reg_usb1_vbus and reg_dldo4 need to be on for the hub attached
to usb1 to work, and we can list only one usb1_vbus-supply, so dldo4 is
marked as regulator-always-on.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Sun, 5 Jun 2016 12:23:13 +0000 (14:23 +0200)]
ARM: dts: sun6i: The blue led on the Mele M9 is a power led
The blue led on the Mele M9 is wired to light up as soon as the board
has powered (it will be on while the gpio is still in input / floating
mode), also its location on the top-set box clearly signals "power led".
Until now we've been treating this as a generic usr function led, which
means that when you plug power into the top-set box, the power-led lights
and then turns off as soon as the kernel loads, which looks wrong.
This renames the led from m9:blue:usr to m9:blue:pwr and marks
it as default on, fixing this.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Hans de Goede [Sun, 5 Jun 2016 12:23:12 +0000 (14:23 +0200)]
ARM: dts: sun6i: The blue led on the Mele A1000G quad is a power led
The blue led on the Mele A1000 is wired to light up as soon as the board
has powered (it will be on while the gpio is still in input / floating
mode), also its location on the top-set box clearly signals "power led".
Until now we've been treating this as a generic usr function led, which
means that when you plug power into the top-set box, the power-led lights
and then turns off as soon as the kernel loads, which looks wrong.
This renames the led from m9:blue:usr to a1000g:blue:pwr (fixing a copy
and paste error in the prefix while at it) and marks it as default on,
fixing this.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Hans de Goede [Sun, 5 Jun 2016 12:23:11 +0000 (14:23 +0200)]
ARM: dts: sun4i: The blue led on the Mele A1000 is a power led
The blue led on the Mele A1000 is wired to light up as soon as the board
has powered (it will be on while the gpio is still in input / floating
mode), also its location on the top-set box clearly signals "power led".
Until now we've been treating this as a generic usr function led, which
means that when you plug power into the top-set box, the power-led lights
and then turns off as soon as the kernel loads, which looks wrong.
This renames the led from a1000:blue:usr to a1000:blue:pwr and marks
it as default on, fixing this.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Hans de Goede [Sat, 11 Jun 2016 13:53:06 +0000 (15:53 +0200)]
ARM: dts: sun8i-a23-polaroid-mid2809pxe04: Disable ehci0
The Polaroid mid2809pxe04 tablet uses an sdio esp8089 wifi chip, so
ehci0 is not used and should be disabled.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Sat, 11 Jun 2016 13:53:05 +0000 (15:53 +0200)]
ARM: dts: sun8i-a23-polaroid-mid2809pxe04: Add full otg support
Now that we've all the necessary bits in place we can enable
full otg support on these tablets.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Sat, 11 Jun 2016 13:53:04 +0000 (15:53 +0200)]
ARM: dts: sun8i-a?3-q8-tablet.dts: Add full otg support
Now that we've all the necessary bits in place we can enable
full otg support on these tablets.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Sat, 11 Jun 2016 13:53:03 +0000 (15:53 +0200)]
ARM: dts: axp22x.dtsi: Add reg_drivebus node
Add a node describing the drivebus regulator which is an (optional)
part of the axp221/axp223 pmic. Since this regulator may not be
available at all depending on the board, mark it as disabled by
default.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Sat, 11 Jun 2016 13:53:02 +0000 (15:53 +0200)]
ARM: dts: axp22x.dtsi: Add usb_power_supply node
Add a node describing the (optional) usbpower-supply of the
axp221 / axp223 pmic.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Sat, 11 Jun 2016 13:53:01 +0000 (15:53 +0200)]
ARM: dts: axp22x.dtsi: Disable axp22x ldo_io# regulators by default
Use of these as regulators conflicts with use of the gpio pins as
gpios, so disabled the ldo_io# regulators by default, this avoids
the regulator core touching them when the pins are used as gpios.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Aleksei Mamlin [Fri, 10 Jun 2016 08:05:19 +0000 (11:05 +0300)]
ARM: dts: sun7i: Re-order pinctrl nodes alphabetically
No functional change. Re-order sun7i pinctrl nodes alphabetically.
Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Aleksei Mamlin [Fri, 10 Jun 2016 08:05:18 +0000 (11:05 +0300)]
ARM: dts: sun4i: Re-order pinctrl nodes alphabetically
No functional change. Re-order sun4i pinctrl nodes alphabetically.
Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Sun, 5 Jun 2016 12:22:48 +0000 (14:22 +0200)]
ARM: dts: sun7i: HDMI and the tv-encoder use tcon ch1 not ch0
Update the simplefb nodes for hdmi / tv-encoder out to point to
tcon0_ch1 instead of tcon0_ch0 as tcon clock.
While at it fix the clocks lines being longer than 80 chars.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Sun, 5 Jun 2016 12:22:47 +0000 (14:22 +0200)]
ARM: dts: sun4i: HDMI and the tv-encoder use tcon ch1 not ch0
Update the simplefb nodes for hdmi / tv-encoder out to point to
tcon0_ch1 instead of tcon0_ch0 as tcon clock.
While at it fix the clocks lines being longer than 80 chars.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Sat, 4 Jun 2016 10:58:39 +0000 (12:58 +0200)]
ARM: dts: sunxi: Add a startup delay for fixed regulator enabled phys
It seems that recent kernels have a shorter timeout when scanning for
ethernet phys causing us to hit a timeout on boards where the phy's
regulator gets enabled just before scanning, which leads to non working
ethernet.
A 10ms startup delay seems to be enough to fix it, this commit adds a
20ms startup delay just to be safe.
This has been tested on a sun4i-a10-a1000 and sun5i-a10s-wobo-i5 board,
both of which have non-working ethernet on recent kernels without this
fix.
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Chen-Yu Tsai [Fri, 3 Jun 2016 06:50:51 +0000 (14:50 +0800)]
ARM: dts: sun9i: cubieboard4: Drop sunxi-common-regulators.dtsi
sunxi-common-regulators.dtsi provided dummy regulators vcc3v0, vcc3v3,
vcc5v0. 3.0V/3.3V and 5.0V are commonly used voltages in Allwinner
devices. These dummy regulators provide a stand-in when bindings that
require one, but the real regulator is not supported yet.
Since these are no longer needed, we can drop the include file.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Chen-Yu Tsai [Fri, 3 Jun 2016 06:50:50 +0000 (14:50 +0800)]
ARM: dts: sun9i: a80-optimus: Drop sunxi-common-regulators.dtsi
sunxi-common-regulators.dtsi provided dummy regulators vcc3v0, vcc3v3,
vcc5v0. 3.0V/3.3V and 5.0V are commonly used voltages in Allwinner
devices. These dummy regulators provide a stand-in when bindings that
require one, but the real regulator is not supported yet.
Since these are no longer needed, we can drop the include file by
copying over reg_usb1_vbus.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Hans de Goede [Fri, 3 Jun 2016 18:10:40 +0000 (20:10 +0200)]
ARM: dts: sun5i-a10s-wobo-i5: Enable ldo4 too
It seems that the wifi chip is powered by both ldo3 and ldo4 tied
together and that using only one results in the wifi-chip dropping of
the USB bus sometimes.
Ideally we would have a proper way of modelling this (this is being
worked on), but currently we do not. This is not an issue since we need
to keep these regulators always-on anyways, due to these boards
crashing when ldo3/4 get turned back on after having been turned off.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Chen-Yu Tsai [Thu, 2 Jun 2016 07:50:11 +0000 (15:50 +0800)]
ARM: dts: sun8i-h3: Add dts file for Sinovoip BPI-M2+
The BPI-M2+ is an H3 development board. It is a smaller form factor than
the original BPI-M2, with the new H3 SoC.
It has 1GB DRAM, 8GB eMMC, a micro SD card slot, HDMI output, 2 USB
host connector and 1 USB OTG connector, an IR receiver, WiFi+BT based
on Ampak AP6212.
The board also has a 3 pin header for (debug) UART, a 40 pin GPIO header
based on the Raspberry Pi B+, but the peripheral signals are not the
same, and an FPC connector for connecting BPI's camera.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Chen-Yu Tsai [Thu, 2 Jun 2016 07:50:10 +0000 (15:50 +0800)]
ARM: dts: sun8i-h3: Add uart1 pinmux setting
Add uart1 pins for 4 pin (RX/TX/RTS/CTS) mode.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Chen-Yu Tsai [Thu, 2 Jun 2016 07:50:09 +0000 (15:50 +0800)]
ARM: dts: sun8i-h3: move uart0 pins to sort pinmux list in proper order
Move uart0 pins to sort the list of pin settings in alphabetical order.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Chen-Yu Tsai [Tue, 31 May 2016 16:23:22 +0000 (00:23 +0800)]
ARM: dts: sun9i: cubieboard4: Add AXP809 PMIC device node and regulators
The AXP809 PMIC is the primary PMIC. It provides various supply voltages
for the SoC and other peripherals. The PMIC's interrupt line is connected
to NMI pin of the SoC.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Chen-Yu Tsai [Tue, 31 May 2016 16:23:21 +0000 (00:23 +0800)]
ARM: dts: sun9i: a80-optimus: Add AXP809 PMIC device node and regulators
The AXP809 PMIC is the primary PMIC. It provides various supply voltages
for the SoC and other peripherals. The PMIC's interrupt line is
connected to NMI pin of the SoC.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Chen-Yu Tsai [Tue, 31 May 2016 16:23:20 +0000 (00:23 +0800)]
ARM: dts: sunxi: Add dtsi file for AXP809 PMIC
The AXP809 PMIC is used with the Allwinner A80 SoC, along with
an AXP806 PMIC as a slave.
This patch adds a dtsi file for all the common bindings and default
values unrelated to board design. Currently this is just listing all
the regulator nodes. The regulators are initialized based on their
device node names.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Michal Suchanek [Thu, 26 May 2016 19:25:23 +0000 (19:25 +0000)]
ARM: dts: sun5i: add spi2 on A10s Olinuxino Micro
spi2 is available on the UEXT connector
Signed-off-by: Michal Suchanek <hramrach@gmail.com>
[Maxime: Fixed the node order]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Michal Suchanek [Thu, 26 May 2016 19:25:22 +0000 (19:25 +0000)]
ARM: dts: sun5i: a10s: add spi2 pins
Used on A10s Olinuxino.
Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Chen-Yu Tsai [Tue, 17 May 2016 15:56:11 +0000 (23:56 +0800)]
ARM: dts: sun5i: q8-common: Enable display pipeline and LCD display
Q8 form factor A13 tablets have a 7" LCD panel. Unfortunately we
don't know the exact model of the panel. Just pick a panel with
display timings close to what we know.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Chen-Yu Tsai [Tue, 17 May 2016 15:56:10 +0000 (23:56 +0800)]
ARM: dts: sun5i: q8-common: Enable audio codec
The Q8 tablets use the audio codec to provide audio output via a
headphone jack or a small mono speaker. A GPIO output is used to
control speaker amp.
The tablets may or may not have an internal microphone.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Chen-Yu Tsai [Tue, 17 May 2016 15:56:09 +0000 (23:56 +0800)]
ARM: dts: sun5i: q8-common: Enable USB power supply
On the A13 Q8 tablets, the PMIC's USB power supply (VBUS) is connected
to the external OTG port. This can be used to provide power and OTG VBUS
sensing.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Chen-Yu Tsai [Tue, 17 May 2016 15:56:07 +0000 (23:56 +0800)]
ARM: dts: axp209: Disable ldo5 by default
The output pin of LDO is also a GPIO pin, and the on/off settings of the
regulator are actually pinmux settings.
Disable it by default so it doesn't conflict with GPIO usage.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Maxime Ripard [Thu, 12 May 2016 08:22:06 +0000 (10:22 +0200)]
ARM: sun5i: Move display blocks to A13
Most of the display engine is shared between the R8 and the A13. Move the
common parts to the Á13 DTSI.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Maxime Ripard [Fri, 26 Feb 2016 01:15:30 +0000 (17:15 -0800)]
ARM: sun5i: a13: Add LCD pins
The RGB bus can be used in several configurations, one of which being the
RGB666.
Add a pinctrl group for that case.
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Priit Laes [Tue, 10 May 2016 19:24:07 +0000 (22:24 +0300)]
ARM: sun7i: A20: Add display and TCON clocks
Enable the display and TCON clocks that are needed to drive the display
engine, tcon and TV encoders.
Signed-off-by: Priit Laes <plaes@plaes.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>