150 lines
3.7 KiB
Diff
150 lines
3.7 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Oleg <balbes-150@yandex.ru>
|
|
Date: Mon, 4 Jan 2021 11:51:43 +0100
|
|
Subject: [ARCHEOLOGY] add station legacy (#2521)
|
|
|
|
> X-Git-Archeology: - Revision a1e96e68d864ddc2fef169f3f503a9493311313b: https://github.com/armbian/build/commit/a1e96e68d864ddc2fef169f3f503a9493311313b
|
|
> X-Git-Archeology: Date: Mon, 04 Jan 2021 11:51:43 +0100
|
|
> X-Git-Archeology: From: Oleg <balbes-150@yandex.ru>
|
|
> X-Git-Archeology: Subject: add station legacy (#2521)
|
|
> X-Git-Archeology:
|
|
> X-Git-Archeology: - Revision 0cdffb29b07305209efb12cf3b5ac6032d3a1153: https://github.com/armbian/build/commit/0cdffb29b07305209efb12cf3b5ac6032d3a1153
|
|
> X-Git-Archeology: Date: Wed, 24 Mar 2021 19:01:53 +0100
|
|
> X-Git-Archeology: From: Igor Pecovnik <igorpecovnik@users.noreply.github.com>
|
|
> X-Git-Archeology: Subject: Renaming DEV branch to EDGE (#2704)
|
|
> X-Git-Archeology:
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3328-roc-pc.dts | 121 ++++++++++
|
|
1 file changed, 121 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-pc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-pc.dts
|
|
new file mode 100644
|
|
index 000000000000..8f58ed93117a
|
|
--- /dev/null
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-pc.dts
|
|
@@ -0,0 +1,121 @@
|
|
+/dts-v1/;
|
|
+#include "rk3328-firefly-port.dtsi"
|
|
+
|
|
+/ {
|
|
+ model = "Firefly ROC-RK3328-PC";
|
|
+ compatible = "firefly,roc-rk3328-pc", "rockchip,rk3328";
|
|
+
|
|
+ fiq-debugger {
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
+ wireless-bluetooth {
|
|
+ compatible = "bluetooth-platdata";
|
|
+ clocks = <&cru SCLK_RTC32K>;
|
|
+ clock-names = "ext_clock";
|
|
+ BT,power_gpio = <&gpio1 24 GPIO_ACTIVE_HIGH>; //GPIO1_D0
|
|
+ BT,wake_host_irq = <&gpio1 26 GPIO_ACTIVE_HIGH>;//GPIO1_D2
|
|
+ status = "okay";
|
|
+ };
|
|
+
|
|
+ wireless-wlan {
|
|
+ compatible = "wlan-platdata";
|
|
+ clocks = <&cru SCLK_RTC32K>;
|
|
+ clock-names = "ext_clock";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&clock_wifi>;
|
|
+ rockchip,grf = <&grf>;
|
|
+ wifi_chip_type = "rtl8723ds";
|
|
+ sdio_vref = <1800>;
|
|
+ WIFI,host_wake_irq = <&gpio3 1 GPIO_ACTIVE_HIGH>;
|
|
+ status = "okay";
|
|
+ };
|
|
+};
|
|
+
|
|
+&codec {
|
|
+ rk3328-codec-hp-gpiomute;
|
|
+};
|
|
+
|
|
+&rk805 {
|
|
+
|
|
+ interrupt-parent = <&gpio0>;
|
|
+ interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
|
|
+
|
|
+ pwrkey {
|
|
+ status = "okay";
|
|
+ };
|
|
+};
|
|
+
|
|
+&sdio_pwrseq {
|
|
+ reset-gpios = <&gpio3 8 GPIO_ACTIVE_LOW>;
|
|
+};
|
|
+
|
|
+&vccio_sd {
|
|
+ gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
|
|
+};
|
|
+
|
|
+&pinctrl {
|
|
+
|
|
+ pmic {
|
|
+ pmic_int_l: pmic-int-l {
|
|
+ rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_up>;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ sdio-pwrseq {
|
|
+ wifi_enable_h: wifi-enable-h {
|
|
+ rockchip,pins = <3 8 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ wireless-wlan {
|
|
+ clock_wifi: clock-wifi {
|
|
+ rockchip,pins = <1 28 RK_FUNC_1 &pcfg_pull_none>;
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
+&uart1 {
|
|
+ status = "disabled";
|
|
+};
|
|
+
|
|
+&uart2 {
|
|
+ dma-names = "tx", "rx";
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&usb20_otg {
|
|
+ dr_mode = "device";
|
|
+};
|
|
+
|
|
+&sdmmc_ext {
|
|
+ bus-width = <4>;
|
|
+ cap-sd-highspeed;
|
|
+ cap-sdio-irq;
|
|
+ disable-wp;
|
|
+ keep-power-in-suspend;
|
|
+ max-frequency = <100000000>;
|
|
+ mmc-pwrseq = <&sdio_pwrseq>;
|
|
+ num-slots = <1>;
|
|
+ non-removable;
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&sdmmc0ext_clk &sdmmc0ext_cmd &sdmmc0ext_bus4>;
|
|
+ supports-sdio;
|
|
+ sd-uhs-sdr104;
|
|
+ status = "okay";
|
|
+ vmmc-supply = <&vcc_io>;
|
|
+};
|
|
+
|
|
+&dmc {
|
|
+ system-status-freq = <
|
|
+ /*system status freq(KHz)*/
|
|
+ SYS_STATUS_NORMAL 786000
|
|
+ SYS_STATUS_REBOOT 786000
|
|
+ SYS_STATUS_SUSPEND 786000
|
|
+ SYS_STATUS_VIDEO_1080P 786000
|
|
+ SYS_STATUS_VIDEO_4K 786000
|
|
+ SYS_STATUS_VIDEO_4K_10B 786000
|
|
+ SYS_STATUS_PERFORMANCE 786000
|
|
+ SYS_STATUS_BOOST 786000
|
|
+ >;
|
|
+};
|
|
--
|
|
Armbian
|
|
|