mirror of
https://github.com/LuckfoxTECH/luckfox-pico.git
synced 2026-01-18 03:28:19 +01:00
* project : Merge the board configurations of Luckfox Pico Mini A and Luckfox Pico Mini B; Merge the board configurations of Luckfox Pico Pro and Luckfox pico Max Signed-off-by: eng29 <eng29@luckfox.com> * sysdrv/source/kernel/arch/arm/boot/dts : Merge the device tree configurations of Luckfox Pico Mini A and Luckfox Mini B; Merge the device tree configurations of Luckfox Pico Pro and Luckfox Pico Max Signed-off-by: eng29 <eng29@luckfox.com> * sysdrv/source/uboot : uboot add support for automatically executing custom commands defined by Luckfox Signed-off-by: eng29 <eng29@luckfox.com> * sysdrv/source/kernel : The Luckfox Pico series dynamically loads the BLACKLIGHT_PWM driver, which hides display abnormalities that occur during the screen initialization process Signed-off-by: eng29 <eng29@luckfox.com> * project/cfg/BoardConfig_IPC : Update the BoardConfig file and overlay file of the Luckfox Pico model that supports RGB, so that the BLACKLIGHT_PWM driver will be automatically loaded Signed-off-by: eng29 <eng29@luckfox.com> * project/cfg/BoardConfig_IPC : Add rtl8723bs module support for Luckfox Pico Mini / Luckfox Pico Plus / Luckfox Pico WebBee / Luckfox Pico Pro Max Signed-off-by: eng29 <eng29@luckfox.com> * sysdrv/drv_ko/wifi/insmod_wifi.sh : Add support for identifying rtl8723bs Signed-off-by: eng29 <eng29@luckfox.com> * sysdrv/source/kernel/arch/arm/configs/luckfox_rv1106_linux_defconfig : Add usb_audio, ch343 and rtl8723bs support Signed-off-by: eng29 <eng29@luckfox.com> * sysdrv/tools/board/buildroot : Enable the pcre2 package by default on startup Signed-off-by: eng29 <eng29@luckfox.com> * project/app/rkipc/rkipc/common/network/network.c : Fix missing DNS issue when bringing up Wi-Fi interface Signed-off-by: eng29 <eng29@luckfox.com> * README.md : Update description README_CN.md : Update description Signed-off-by: eng29 <eng29@luckfox.com> * project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-config/usr/bin/luckfox-config : Disable UART2_M1 pinmux configuration Signed-off-by: eng29 <eng29@luckfox.com> * project/cfg/BoardConfig_IPC/overlay/overlay-luckfox-config/etc/init.d/S99luckfoxconfigload : Remove the function of pressing the boot button to switch the screen model Signed-off-by: eng29 <eng29@luckfox.com> * sysdrv/source/kernel/arch/arm/boot/dts : Standardize the writing format of the dst files Signed-off-by: eng29 <eng29@luckfox.com> --------- Signed-off-by: eng29 <eng29@luckfox.com>
151 lines
3.0 KiB
Plaintext
Executable File
151 lines
3.0 KiB
Plaintext
Executable File
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2022 Rockchip Electronics Co., Ltd.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "rv1106.dtsi"
|
|
#include "rv1106-luckfox-pico-86panel-ipc.dtsi"
|
|
#include <dt-bindings/input/input.h>
|
|
#include <dt-bindings/display/media-bus-format.h>
|
|
|
|
/ {
|
|
model = "Luckfox Pico 86Panel W";
|
|
compatible = "rockchip,rv1103g-38x38-ipc-v10", "rockchip,rv1106g3";
|
|
|
|
restart-poweroff {
|
|
compatible = "restart-poweroff";
|
|
};
|
|
|
|
sdio_pwrseq: sdio-pwrseq {
|
|
compatible = "mmc-pwrseq-simple";
|
|
pinctrl-names = "default";
|
|
reset-gpios = <&gpio1 RK_PA2 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
wireless_bluetooth: wireless-bluetooth {
|
|
compatible = "bluetooth-platdata";
|
|
uart_rts_gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
|
|
pinctrl-names = "default", "rts_gpio";
|
|
pinctrl-0 = <&uart1m0_rtsn>;
|
|
pinctrl-1 = <&uart1_gpios>;
|
|
BT,wake_gpio = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
|
|
BT,wake_host_irq = <&gpio1 RK_PA2 GPIO_ACTIVE_HIGH>;
|
|
status = "okay";
|
|
};
|
|
|
|
adc-keys {
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
/**********CRU**********/
|
|
//&cru {
|
|
// assigned-clocks =
|
|
// <&cru PLL_GPLL>, <&cru PLL_CPLL>,
|
|
// <&cru ARMCLK>,
|
|
// <&cru ACLK_PERI_ROOT>, <&cru HCLK_PERI_ROOT>,
|
|
// <&cru PCLK_PERI_ROOT>, <&cru ACLK_BUS_ROOT>,
|
|
// <&cru PCLK_TOP_ROOT>, <&cru PCLK_PMU_ROOT>,
|
|
// <&cru HCLK_PMU_ROOT>, <&cru CLK_500M_SRC>;
|
|
// assigned-clock-rates =
|
|
// <1188000000>, <700000000>,
|
|
// <1104000000>,
|
|
// <400000000>, <200000000>,
|
|
// <100000000>, <300000000>,
|
|
// <100000000>, <100000000>,
|
|
// <200000000>, <700000000>;
|
|
//};
|
|
|
|
/**********NPU**********/
|
|
//&npu {
|
|
// assigned-clock-rates = <700000000>;
|
|
//};
|
|
|
|
/**********EMMC**********/
|
|
&emmc {
|
|
bus-width = <8>;
|
|
cap-mmc-highspeed;
|
|
non-removable;
|
|
// mmc-hs200-1_8v;
|
|
rockchip,default-sample-phase = <90>;
|
|
no-sdio;
|
|
no-sd;
|
|
memory-region-ecsd = <&mmc_ecsd>;
|
|
post-power-on-delay-ms = <0>;
|
|
status = "okay";
|
|
};
|
|
|
|
&fiq_debugger {
|
|
rockchip,irq-mode-enable = <1>;
|
|
status = "okay";
|
|
};
|
|
|
|
/**********SDIO-WIFI**********/
|
|
&sdmmc {
|
|
max-frequency = <50000000>;
|
|
bus-width = <4>;
|
|
cap-sd-highspeed;
|
|
cap-sdio-irq;
|
|
keep-power-in-suspend;
|
|
non-removable;
|
|
rockchip,default-sample-phase = <90>;
|
|
// no-sd;
|
|
// no-mmc;
|
|
supports-sdio;
|
|
mmc-pwrseq = <&sdio_pwrseq>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_bus4 &sdmmc0_det>;
|
|
status = "okay";
|
|
};
|
|
|
|
&pinctrl{
|
|
sdmmc0 {
|
|
sdmmc0_det: sdmmc0-det {
|
|
rockchip,pins =
|
|
/* sdmmc0_det */
|
|
<3 RK_PA1 1 &pcfg_pull_down>;
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
/**********ETH**********/
|
|
&gmac {
|
|
status = "okay";
|
|
};
|
|
|
|
/**********USB**********/
|
|
&usbdrd_dwc3 {
|
|
status = "okay";
|
|
dr_mode = "peripheral";
|
|
//dr_mode = "host";
|
|
};
|
|
|
|
/**********RTC**********/
|
|
&rtc {
|
|
status = "okay";
|
|
};
|
|
|
|
/**********BT**********/
|
|
&uart1 {
|
|
status = "okay";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>;
|
|
};
|
|
|
|
&pinctrl {
|
|
wireless-bluetooth {
|
|
uart1_gpios: uart1-gpios {
|
|
rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
};
|
|
};
|
|
};
|
|
|
|
/**********RS485**********/
|
|
&uart4 {
|
|
status = "okay";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart4m0_xfer>;
|
|
};
|