From 10187678abfea621fdebdce275f5a8a9b168ed7f Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Thu, 29 Mar 2018 15:01:06 +0200 Subject: arm64: rockchip: add dts + defconfig for RK3399-Q7 (Puma) SoM 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 Signed-off-by: Jakob Unterwurzacher --- arch/arm64/boot/dts/rockchip/rk3399-puma-edp.dts | 62 ++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3399-puma-edp.dts (limited to 'arch/arm64/boot/dts/rockchip/rk3399-puma-edp.dts') diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma-edp.dts b/arch/arm64/boot/dts/rockchip/rk3399-puma-edp.dts new file mode 100644 index 000000000000..9f995fd1c42a --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma-edp.dts @@ -0,0 +1,62 @@ +/* + * Copyright (c) 2017 Theobroma Systemd Design und Consulting GmbH + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + + +/* + * Theobroma Systems RK3399-Q7 "Puma" with EDP enabled instead of HDMI + */ +#include "rk3399-puma.dts" + +/ { + edp_panel: edp_panel { + // simple-panel does not define any timings - they are read from the monitor EDID. + compatible = "simple-panel"; + // The enable gpio is used to switch the hardware multiplexer (U29) to DisplayPort. + enable-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; // GPIO2_A2 = SEL_EDP_1V8 + ports { + panel_in_edp: endpoint { + remote-endpoint = <&edp_out_panel>; + }; + }; + }; +}; + +&vopl { + status = "okay"; +}; +&vopl_mmu { + status = "okay"; +}; + +&edp { + status = "okay"; + force-hpd; + /delete-property/ pinctrl-0; + ports { + edp_out: port@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + edp_out_panel: endpoint@0 { + reg = <0>; + remote-endpoint = <&panel_in_edp>; + }; + }; + }; +}; + +&hdmi { + status = "disabled"; +}; + +&route_hdmi { + status = "disabled"; +}; + +&route_edp { + status = "okay"; +}; -- cgit v1.2.3