lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 13 Feb 2022 22:16:48 +0800
From:   Sui Jingfeng <15330273260@....cn>
To:     Maxime Ripard <mripard@...nel.org>,
        Thomas Zimmermann <tzimmermann@...e.de>,
        Roland Scheidegger <sroland@...are.com>,
        Zack Rusin <zackr@...are.com>,
        Christian Gmeiner <christian.gmeiner@...il.com>,
        David Airlie <airlied@...ux.ie>,
        Daniel Vetter <daniel@...ll.ch>,
        Rob Herring <robh+dt@...nel.org>,
        Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
        Dan Carpenter <dan.carpenter@...cle.com>,
        Krzysztof Kozlowski <krzk@...nel.org>,
        Andrey Zhizhikin <andrey.zhizhikin@...ca-geosystems.com>,
        Sam Ravnborg <sam@...nborg.org>,
        "David S . Miller" <davem@...emloft.net>,
        Jiaxun Yang <jiaxun.yang@...goat.com>,
        Lucas Stach <l.stach@...gutronix.de>,
        Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
        Ilia Mirkin <imirkin@...m.mit.edu>,
        Qing Zhang <zhangqing@...ngson.cn>, Li Yi <liyi@...ngson.cn>,
        suijingfeng <suijingfeng@...ngson.cn>
Cc:     linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
        devicetree@...r.kernel.org, dri-devel@...ts.freedesktop.org
Subject: [PATCH v7 6/7] MIPS: Loongson: Add dts for ls2k1000 pai evaluation board

From: suijingfeng <suijingfeng@...ngson.cn>

   ___________________                           ____________________
  |            -------|                         |                    |
  |  CRTC0 --> | DVO0 ------------------------> | 1024x600 DPI Panel |
  |  _   _     -------|                         |____________________|
  | | | | |           |  i2c0 is not get used
  | |_| |_|           |     +------+
  |                   <---->| i2c0 |
  |          LSDC     |     +------+
  |  _   _            |     +------+
  | | | | |           <---->| i2c1 |-----------+
  | |_| |_|           |     +------+           |
  |                   |        |               |               _________
  |            -------|    +---------+         |              |         |
  |  CRTC1 --> | DVO1 ---> | sii9022 | --> hdmi connector --> | Monitor |
  |            -------|    +---------+                        |_________|
  |___________________|

The sii9022 tranmnitter working in tramsparent mode, that is the edid
is read from the monitor directly, not through sil9022's ddc channel.
The PMON firmware is responsible for consigure the sii9022 at boot time.

[1] https://wiki.debian.org/InstallingDebianOn/Lemote/Loongson2K1000

Signed-off-by: suijingfeng <suijingfeng@...ngson.cn>
Signed-off-by: Sui Jingfeng <15330273260@....cn>
---
 arch/mips/boot/dts/loongson/ls2k1000_pai.dts | 69 ++++++++++++++++++++
 1 file changed, 69 insertions(+)
 create mode 100644 arch/mips/boot/dts/loongson/ls2k1000_pai.dts

diff --git a/arch/mips/boot/dts/loongson/ls2k1000_pai.dts b/arch/mips/boot/dts/loongson/ls2k1000_pai.dts
new file mode 100644
index 000000000000..6c18280d2129
--- /dev/null
+++ b/arch/mips/boot/dts/loongson/ls2k1000_pai.dts
@@ -0,0 +1,69 @@
+// SPDX-License-Identifier: GPL-2.0
+
+/dts-v1/;
+
+#include "loongson64-2k1000.dtsi"
+
+/ {
+	model = "LS2K1000_PAI_UDB_V1.5";
+
+	memory@...000 {
+		compatible = "memory";
+		device_type = "memory";
+		// 238 MB at 2 MB
+		// 2GB - 512 MB at 2GB + 512 MB
+		// total 2 GB
+		reg = <0x00000000 0x00200000 0x00000000 0x0EE00000
+		       0x00000000 0xA0000000 0x00000000 0x60000000
+		       0x00000001 0x10000000 0x00000000 0x10000000>;
+	};
+};
+
+&lsdc {
+	output-ports = <&dvo0 &dvo1>;
+
+	#address-cells = <1>;
+	#size-cells = <0>;
+
+	dvo0: dvo@0 {
+		/* 0 for connector 0 (DVO0) */
+		reg = <0>;
+		connector = "dpi-connector";
+		status = "ok";
+
+		display-timings {
+			native-mode = <&mode_0_1024x600_60>;
+
+			mode_0_1024x600_60: panel-timing@0 {
+				clock-frequency = <51200000>;
+				hactive = <1024>;
+				vactive = <600>;
+				hsync-len = <4>;
+				hfront-porch = <160>;
+				hback-porch = <156>;
+				vfront-porch = <11>;
+				vback-porch = <23>;
+				vsync-len = <1>;
+			};
+
+			mode_1_800x480_60: panel-timing@1 {
+				clock-frequency = <30066000>;
+				hactive = <800>;
+				vactive = <480>;
+				hfront-porch = <50>;
+				hback-porch = <70>;
+				hsync-len = <50>;
+				vback-porch = <0>;
+				vfront-porch = <0>;
+				vsync-len = <50>;
+			};
+		};
+	};
+
+	dvo1: dvo@1 {
+		/* 1 for connector 1 (DVO1) */
+		reg = <1>;
+		connector = "virtual-connector";
+		status = "ok";
+	};
+};
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ