summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2019-07-01dts: puma: Re-enable AVB.android-9.0.0_r34-pumark3399-android9.0-sdk-pumaChristoph Muellner
This patch re-enables AVB in the DTS. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2019-06-28dts: puma-android: HDMI/vbmeta fixes.Christoph Muellner
* Switch to HDMI to VOPB * Re-enable vbmeta. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2019-06-26dts: puma-android: Cleanup DTS information.Christoph Muellner
This patch removes redundant information in the rk3399-puma-android.dts. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2019-06-25Disable AVB verification.Christoph Muellner
This patch disables the AVB verification by removing the vbmeta node in the firmware_android section in the DTS. This changes has been suggested by Rockchip to temporary circumvent verification errors. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2019-06-24Adding Puma DTS and config for Android.Christoph Muellner
This commit provides DTS and defconfig for Rockchip's Android 9 SDK. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2019-04-30arm64: dts: rockchip: Decrease emmc-phy's drive impedance on rk3399-pumaChristoph Muellner
The RK3399-Q7 (Puma) requires 33 Ohm drive strength to ensure signal integrity at HS-400 (200MHz clock, DDR signalling). A repeated EMC testing run validates that this increase does not negatively impact EMC compliance (emissions have ample distance to the regulatory limits). Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com> Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2019-04-30arm64: DTS: rk3399-puma.dts: Update DMC OPs.Christoph Muellner
Extending the operating point list of the DMC to include frequencies of up to 800 MHz. This increases bandwidth and fixes issues observed with RKISP1 (PIC_SIZE_ERRORs when performing memory intensive tasks in parallel). Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2019-04-30arm64: DTS: rk3399-puma.dts: Rename efuse_id to cpu_id.Christoph Muellner
This patch is required because the name of the "efuse_id" node has been changed to "cpu_id" in the rk3399.dtsi by the following commit: commit 1eefebf4c678d63d1051a38f6ffd06eb1bd66fe0 Author: Jianqun Xu <jay.xu@rock-chips.com> Date: Tue Jul 24 15:56:18 2018 +0800 Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
2019-04-30rk3399-puma.dts: reduce sd card max-frequency to 40MHz.Jakob Unterwurzacher
CRC errors (code -84 EILSEQ) have been observed for some SanDisk Ultra A1 cards when running at 50MHz. Waveform analysis suggest that the level shifters that are used on the RK3399-Q7 module for voltage translation between 3.0 and 3.3V don't handle clock rates at or above 48MHz properly. Back off to 40MHz for some safety margin. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2019-04-30rk3399_defconfig: enable ISP1 and TC35874X for peafowl hdmi captureJakob Unterwurzacher
2019-04-30arm64: rockchip: add rk3399-puma-peafowl.dtsJakob Unterwurzacher
Theobroma Systems RK3399-Q7 "Puma" with HDMI to CSI adapter "Peafowl". Uses the Toshiba TC358749 chip. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2019-04-30arm64: rockchip: rk3399-puma: enable memory frequency scalingJakob Unterwurzacher
DDR memory frequency scaling is called DMC (dynamic memory controller) in the RK3399 SoC. Enable it in the DTS and in the defconfig. To improve the reaction time of the rockchip_dmc governor, CONFIG_HZ_PERIODIC is enabled, at the cost of a 3% idle power increase. I see worst case reaction times of tens of seconds without it, because devfreq_dmc_ondemand_func does not get to run. The upthreshold and downdifferential values in the DTS are more aggressive than what rockchip uses. This improves U-Boot make -j6 compile time by 8%. Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2019-04-30arm64: rockchip: add rk3399-puma-spidev.dtsKlaus Goger
This devicetree adds spidev nodes to the spi5 bus as enhancement to the rk3399-puma.dts. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2019-04-30arm64: dts: rockchip: set powerdomain for spi5 on rk3399Klaus Goger
Access to the spi5 peripheral when powered down halts the system rendering it unresponsive. Define the powerdomain in the rk3399.dtsi to prevent a shutdown when the peripheral is used. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2019-04-30Reduce SD IO Voltage to 3.0VKlaus Goger
The SD-Card IO rail on the RK3399 should not be operated higher than 3.15V. We reduce it to 3.0V. Note that the I/Os on the Qseven edge connector will still be 3.3V as expected. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
2019-04-30arm64: rockchip: add dts + defconfig for RK3399-Q7 (Puma) SoMJakob Unterwurzacher
The RK3399-Q7 (Puma) is a system-on-module featuring the Rockchip RK3399 in a Qseven-compatible form-factor. RK3399-Q7 features: * CPU: ARMv8 64bit Big-Little architecture, * Big: dual-core Cortex-A72 * Little: quad-core Cortex-A53 * IRAM: 200KB * DRAM: 4GB-128MB dual-channel * eMMC: onboard eMMC * SD/MMC * GbE (onboard Micrel KSZ9031) Gigabit ethernet PHY * USB: * USB3.0 dual role port * 2x USB3.0 host, 1x USB2.0 host via onboard USB3.0 hub * Display: HDMI/eDP/MIPI * Camera: 2x CSI (one on the edge connector, one on the Q7 specified CSI ZIF) * NOR Flash: onboard SPI NOR * Companion Controller: onboard additional Cortex-M0 microcontroller * RTC * fan controller * CAN This dts describes includes all required peripherals for booting and basic functionality including eMMC, NOR, USB, Ethernet, HDMI output (with audio), I2C buses (including the RTC and fan controller features provided by the default companion controller firmware) and LED definitions. Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com> Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
2019-03-20arm64: dts: rockchip: rk1808: Correct the drive strength for rgmii/rmiiDavid Wu
According to the hardware test, change the tx pin drive strength to 4ma, and mdc/mdio 2ma. Change-Id: Ia5ab1728c9e9ecbfa7207217649588f600070ae4 Signed-off-by: David Wu <david.wu@rock-chips.com>
2019-03-20arm64: dts: rockchip: rk1808-evb-x4: assigned-clock-parents for clk_32k_ioeLin Huang
we replace cru assigned clock node in rk1808-evb-x4 dts, and now clk_32k_ioe is setted in this node, so we need to add this back in rk1808-evb-x4.dts, otherwise the SOC can not boot normally. Change-Id: I06a55bea97e0ef260f2549349b3211a311a913ae Signed-off-by: Lin Huang <hl@rock-chips.com>
2019-03-19arm64: dts: rockchip: add dummy i2s sound for rk3399 sapphire excavatorXiaotan Luo
Change-Id: Ic7a9437eee6d9d12d25ce7fb1171faf1624d3681 Signed-off-by: Xiaotan Luo <lxt@rock-chips.com>
2019-03-15arm64: dts: rockchip: pulldown BT irq gpio for rk3399pro evb v10Longjian Lin
Change-Id: I8c4ac43cd2ff560f2f94a01570ec82b143a7966a Signed-off-by: Longjian Lin <llj@rock-chips.com>
2019-03-14arm64: rk3399pro_npu_defconfig: enable npu efuseWeixin Zhou
Change-Id: Ie3b576f3ab8a04c4c81debfd04844b8d2ef7fd73 Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
2019-03-14arm64: dts: rockchip: rk3399pro-npu: add efuse node and infoWeixin Zhou
Change-Id: I1242fc127da02dff5d0e02418c2a540d21983430 Signed-off-by: Liang Chen <cl@rock-chips.com> Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
2019-03-13arm64: dts: rockchip: clean up rk809-sound pdm for ↵Xing Zheng
rk3326-evb-ai-va-v11-linux board Change-Id: I6f554b92dc09dec640025f973548d71b89142bec Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2019-03-13arm64: rk3326_linux_defconfig: clean up sound configXing Zheng
- Remove useless codecs/spdif. - Enable PDM/multi-codecs/multi-dais. Change-Id: I178e9fe186263722bc27d2c26170db24c08d623f Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2019-03-12arm64: dts: rockchip: rk1808-evb: enable mic array ledLin Huang
Change-Id: Iead1a3bc4695a7209f3d4bd82c49a00b2a8a4940 Signed-off-by: Lin Huang <hl@rock-chips.com>
2019-03-12arm64: dts: rockchip: rk1808-evb: enable pdm on evb boardLin Huang
we use pdm mic as rk1808 evb board default mic array, so enable pdm. Change-Id: I45c4904fe865813185ab327da347d0b52418ef1c Signed-off-by: Lin Huang <hl@rock-chips.com>
2019-03-12arm64: dts: rockchip: px30: add reset properties for watchdogZiyuan Xu
Change-Id: I83a7762c23a4caaa5d3d3cd5e8e79b288f8662b4 Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
2019-03-12arm64: dts: rk3308: add panic and watchdog boot modeAndy Yan
Change-Id: I3ef0b265b1cabe152961985621336294f88bb1a7 Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2019-03-12ARM: dts: rockchip: rk312x-android: set vop-dclk-mode default value to 1Wyon Bi
Fix display abnormal caused by DDR frequency conversion. Change-Id: Iaa3bf6177d42f8ac5f9078b58a138f48d5c1d874 Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2019-03-12ARM: dts: rockchip: add battery node for rk3128-fireprimeKever Yang
fireprime is using rk818, which need a battery node for fuel gauge, or else the input current will be limit to 500mA. Change-Id: Ie80dbc103d1ac57b704235a9b618b7e9db44c953 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2019-03-12arm64: dts: rockchip: rk3399-tve1030g: decrease sdio clk to 100MAlex Zhao
Change-Id: I7c3c7bf4b3c720fce366767d4725ea4a82e0652b Signed-off-by: Alex Zhao <zzc@rock-chips.com>
2019-03-11arm64: dts: rockchip: rk1808-evb: adjust some regulator configXiaoDong Huang
Poweroff vcc1v8_dvp, vdd1v5_dvp, vccio_sd, vcc3v3_sd in rk809 sleep mode. Change-Id: I3c3194449cd0ed17df84c9c03ad2ae4d2f3f720d Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
2019-03-08arm64: dts: rockchip: modify io driver strength for rk1808Jianqun Xu
For rk1808 SoCs, set EMMC 4ma, SDMMC 8ma, SDIO 4ma. Change-Id: I217d10b16f901c257069829315b79f86ce54dab1 Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2019-03-08arm64: dts: rockchip: rk1808: assigned-clock-parents for clk_32k_ioeElaine Zhang
set 32k as input mode: assigned-clocks = <&cru SCLK_32K_IOE>; assigned-clock-parents = <&xin32k>; set 32k as output mode: assigned-clocks = <&cru SCLK_32K_IOE>; assigned-clock-parents = <&cru SCLK_RTC32K_PMU>; Change-Id: Iaebd0a8b8b882c42b800dd3fba9ff5a597c966ae Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2019-03-08ARM: dts: rockchip: enable 2 micbias properties for rk3308 voice module boardLin Jianhua
Change-Id: Icb17b81c9809079355fac440467d6e9781649a30 Signed-off-by: Lin Jianhua <linjh@rock-chips.com>
2019-03-08arm64: dts: rockchip: Add adc-keys node for px30 robotLeo Wen
Change-Id: Iecf0d89e8b8659b836f6f019b68fa2633009c7bb Signed-off-by: Leo Wen <leo.wen@rock-chips.com>
2019-03-08arm64: dts: rockchip: Add adc-keys node for rk3326 robotLeo Wen
Change-Id: Ib7bae5b08ad8695359d3fcdea3893e707fdae522 Signed-off-by: Leo Wen <leo.wen@rock-chips.com>
2019-03-08arm64: dts: rockchip: Add drm node for px30 robotLeo Wen
Change-Id: I1196cdfe29d2e182490fadf3ef529055573b3a40 Signed-off-by: Leo Wen <leo.wen@rock-chips.com>
2019-03-08arm64: configs: Add drm/mpp/initrd configs for px30 robotLeo Wen
Change-Id: I37e443b8ed20ce4a188fd0519996659b40ad8323 Signed-off-by: Leo Wen <leo.wen@rock-chips.com>
2019-03-08arm64: dts: rockchip: Add drm node for rk3326 robotLeo Wen
Change-Id: Ibe37002afdfa6b306eaef604d0ee2cda5321ec77 Signed-off-by: Leo Wen <leo.wen@rock-chips.com>
2019-03-08arm64: configs: Add drm/mpp/initrd configs for rk3326 robotLeo Wen
Change-Id: Ib6ae122e533b3e9d610db570d15484c803028e3c Signed-off-by: Leo Wen <leo.wen@rock-chips.com>
2019-03-08soc: rockchip: Change the parameter of power model for cpu and npuFinley Xiao
Change-Id: I73724946fce82311d29de4538b8446e87d67dc92 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2019-03-06arm: dts: rk3128-fireprime: remove custom cma region@88000000Liang Chen
The address@88000000 is out of memory on rk3128-fireprime, so remove the cma region@88000000, just delete the property <reg>, so that system will alloc cma region automatically. Change-Id: I2b9fdf1cd19d9fcecd59421fd551d709f9054cae Signed-off-by: Liang Chen <cl@rock-chips.com>
2019-03-06arm64: dts: rockchip: rk3399-sapphire remove dvs2Jianqun Xu
The RK3399 sapphire board hasn't use dvs2 of pmic rk808, remove it from dts. Change-Id: I6b18f2ac48d2f32ba53cc6f16303be0f42d74fe5 Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2019-03-05arm64: dts: rockchip: disable uart2 for rk3399 boardTao Huang
Change-Id: I0934141d4a943f9bd21f74652c78a4e2eefc1e57 Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com> Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-03-05arm64: dts: rockchip: disable uart2 for rk3368-r88-dcdcTao Huang
ttyS2 and fiq debugger don't use the same uart2 Change-Id: I442bb34a5a9a7c836b01b693b199b82284539ca6 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-03-05arm64: dts: rockchip: disable uart2 for rk3368-r88Tao Huang
ttyS2 and fiq debugger don't use the same uart2 Change-Id: Id93080187e99089b590cdd29e98713d4e2b50dee Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-03-05arm64: dts: rockchip: disable uart4 for rk3368-px5-evb-androidTao Huang
ttyS4 and fiq debugger don't use the same uart4 Change-Id: I9e73cd663b5a16615e727d65d3e67a2368390615 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-03-05ARM: dts: rockchip: disable uart2 for rk3288-popmetalTao Huang
Change-Id: Ib4cc44eabe6711efd91cb79867397479ab799ed9 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-03-05ARM: dts: rockchip: disable uart2 for rk3288-phycore-rdkTao Huang
ttyS2 and fiq debugger don't use the same uart2 Change-Id: I4ca2df8a763f0dba7a28cd9b8e2b32e885feaa0b Signed-off-by: Tao Huang <huangtao@rock-chips.com>