Commit graph

22 commits

Author SHA1 Message Date
Otavio Salvador 7841b88a8f ARM: dts: rockchip: Add internal timer support for rv1108
Add support for the internal timer peripheral on RV1108.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2018-12-11 20:38:07 +01:00
Otavio Salvador 7d2cecb084 ARM: dts: rockchip: Add UART DMA support for rv1108
Pass the 'dmas' property to the UART ports so that DMA can
be supported.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2018-11-27 01:09:12 +01:00
Otavio Salvador efc2e0bd95 ARM: dts: rockchip: Assign the proper GPIO clocks for rv1108
It is not correct to assign the 24MHz clock oscillator to the GPIO
ports.

Fix it by assigning the proper GPIO clocks instead.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2018-11-27 01:07:32 +01:00
Otavio Salvador c955b7aec5 ARM: dts: rockchip: Fix the PMU interrupt number for rv1108
According to the Rockchip vendor tree the PMU interrupt number is
76, so fix it accordingly.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tested-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2018-11-27 01:06:35 +01:00
Otavio Salvador 507bc2f580 ARM: dts: rockchip: Pass the 'arm,cpu-registers-not-fw-configured' property on rv1108
Since firmware does not initialize  any of the generic timer CPU
registers pass the 'arm,cpu-registers-not-fw-configured' property as
suggested in Documentation/devicetree/bindings/timer/arm,arch_timer.txt.

This also aligns with other Rockchip SoC dtsi files.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2018-11-26 10:27:55 +01:00
Otavio Salvador 84ea3a131b ARM: dts: rockchip: Pass the 'clock-latency' property on rv1108
Like it is done on cpu nodes of other Rockchip SoCs, pass the
'clock-latency' property to the CPU node, so that cpufreq driver
can take the latency into account when switching frequencies.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2018-11-26 10:21:44 +01:00
Otavio Salvador 7d015bd7bc ARM: dts: rockchip: Add rv1108 GMAC support
Add GMAC support for RV1108.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2018-11-26 10:11:24 +01:00
Otavio Salvador bdd9868153 ARM: dts: rockchip: add rv1108 eMMC pin settings
Add the pin settings for the emmc pins so they can be used across multiple
boards.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2018-11-26 10:01:01 +01:00
Klaus Goger fce152a63d ARM: dts: rockchip: use SPDX-License-Identifier
Update all 32bit rockchip devicetree files to use SPDX-License-Identifiers.

All files except rk3288-veyron-analog-audio.dtsi (which is GPL 2.0 only)
claim to be GPL and X11 while the actual license text is MIT. Use the
MIT SPDX tag for them.

Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Acked-by: Brian Norris <briannorris@chromium.org>
Acked-by: Matthias Brugger <mbrugger@suse.com>
Acked-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2018-06-17 09:31:50 +02:00
Rocky Hao f6d3f1e8eb ARM: dts: rockchip: add thermal nodes for RV1108 SoC
Add thermal zone and dynamic CPU power coefficients for RV1108

Signed-off-by: Rocky Hao <rocky.hao@rock-chips.com>
Acked-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-10-17 20:57:44 +02:00
Rocky Hao fb03abbc27 ARM: dts: rockchip: add tsadc node for RV1108 SoC
Add tsadc needed main information for RV1108 SoC.
750000Hz is the max clock rate supported by tsadc module.

Signed-off-by: Rocky Hao <rocky.hao@rock-chips.com>
Acked-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-10-17 20:53:29 +02:00
Frank Wang 24f9f5bb52 ARM: dts: rockchip: add usb nodes for rv1108 SoCs
This patch adds usb otg/host controllers and phys nodes for RV1108 SoCs.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-23 09:24:04 +02:00
Andy Yan 38baa5a90c ARM: dts: rockchip: add cpu opp table for rv1108
Add cpu opp table for rv1108 to support frequency
from 408MHZ to 1008MHZ.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-23 01:30:47 +02:00
Andy Yan 0c2d34aae2 ARM: dts: rockchip: add pwm dt nodes for rv1108
Add pwm device tree node for rv1108 soc

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-19 00:49:57 +02:00
Andy Yan 4d1dc2d1c6 ARM: dts: rockchip: add spi dt node for rv1108
Add SPI device tree node for rv1108.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-14 22:23:22 +02:00
Andy Yan 0e6ff96faa ARM: dts: rockchip: add saradc support for rv1108
Add saradc device tree node for rv1108 soc

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-14 15:33:22 +02:00
Andy Yan 5584b967da ARM: dts: rockchip: add watchdog dt node for rv1108
Add watchdog device tree node for rv1108

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-13 14:14:27 +02:00
Andy Yan 32cb77a204 ARM: dts: rockchip: add i2c dt nodes for rv1108
There are four i2c controllers on rv1108, add
device tree node for them.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-13 14:05:44 +02:00
Heiko Stuebner 0f4dc7e154 ARM: dts: rockchip: fix property-ordering in rv1108 mmc nodes
Somehow the strange property ordering of the rv1108 mmc nodes slipped
through when it was added. To lessen the confusion in the future, do
the needed reordering to bring them in line with our regular order.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-07-22 22:41:35 +02:00
Andy Yan d416364fc5 ARM: dts: rockchip: enable sdmmc for rv1108 evb
Enable sdmmc on rv1108 evaluation board. Also
add pinctrl for sdmmc controller.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-07-22 22:39:43 +02:00
Jaehoon Chung 3373c59b60 ARM: dts: rockchip: change to "max-frequency" from "clock-freq-min-max" on rv1108
"clock-freq-min-max" was deprecated. There is only using in rv1108.dtsi.
Use the "max-frequency" for removiing "clock-freq-min-max" in future.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-07-16 17:08:57 +02:00
Andy Yan 96800f0368 ARM: dts: rockchip: rename core dtsi from RK1108 to RV1108
Rockchip finally named the SOC as RV1108, so change it
for compatible.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>

[adapt include in rk1108-evb.dts to not introduce errors]
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-05-14 14:14:12 +02:00
Renamed from arch/arm/boot/dts/rk1108.dtsi (Browse further)