mirror of
https://github.com/LuckfoxTECH/luckfox-pico.git
synced 2026-01-18 11:38:31 +01:00
185
sysdrv/source/kernel/arch/arm/boot/dts/rv1103g-luckfox-pico-plus-sd.dts
Executable file
185
sysdrv/source/kernel/arch/arm/boot/dts/rv1103g-luckfox-pico-plus-sd.dts
Executable file
@@ -0,0 +1,185 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||
/*
|
||||
* Copyright (c) 2022 Rockchip Electronics Co., Ltd.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "rv1103.dtsi"
|
||||
#include "rv1106-evb.dtsi"
|
||||
#include "rv1103-luckfox-pico-plus-ipc.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Luckfox Pico Plus";
|
||||
compatible = "rockchip,rv1103g-38x38-ipc-v10", "rockchip,rv1103";
|
||||
};
|
||||
|
||||
/**********SDMMC**********/
|
||||
&sdmmc {
|
||||
max-frequency = <50000000>;
|
||||
no-sdio;
|
||||
no-mmc;
|
||||
bus-width = <4>;
|
||||
cap-mmc-highspeed;
|
||||
cap-sd-highspeed;
|
||||
disable-wp;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_det &sdmmc0_bus4>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/**********SFC**********/
|
||||
&sfc {
|
||||
status = "okay";
|
||||
|
||||
flash@0 {
|
||||
compatible = "spi-nand";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <75000000>;
|
||||
spi-rx-bus-width = <4>;
|
||||
spi-tx-bus-width = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
/**********ETH**********/
|
||||
&gmac {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
/**********USB**********/
|
||||
//&usbdrd {
|
||||
// status = "disabled";
|
||||
//};
|
||||
|
||||
//&usbdrd_dwc3 {
|
||||
// status = "disabled";
|
||||
//};
|
||||
|
||||
//&u2phy {
|
||||
// status = "disabled";
|
||||
//};
|
||||
|
||||
//&u2phy_otg {
|
||||
// status = "disabled";
|
||||
//};
|
||||
|
||||
/**********I2C**********/
|
||||
// &i2c0 {
|
||||
// status = "okay";
|
||||
// pinctrl-0 = <&i2c0m2_xfer>;
|
||||
// clock-frequency = <100000>;
|
||||
// };
|
||||
&i2c3 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&i2c3m1_xfer>;
|
||||
clock-frequency = <100000>;
|
||||
};
|
||||
|
||||
/**********SPI**********/
|
||||
&spi0 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spi0m0_pins>;
|
||||
cs-gpios = <&gpio1 RK_PC0 1>;
|
||||
// cs-gpios = <&gpio1 26 1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
spidev@0 {
|
||||
compatible = "rockchip,spidev";
|
||||
spi-max-frequency = <1000000000>;
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
/**********UART**********/
|
||||
&uart3 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart3m1_xfer>;
|
||||
};
|
||||
&uart4 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&uart4m1_xfer>;
|
||||
};
|
||||
//&uart5 {
|
||||
// status = "okay";
|
||||
// pinctrl-names = "default";
|
||||
// pinctrl-0 = <&uart5m0_xfer>;
|
||||
//};
|
||||
|
||||
/**********PWM**********/
|
||||
|
||||
&pwm0 {
|
||||
status = "okay";
|
||||
pinctrl-names = "active";
|
||||
pinctrl-0 = <&pwm0m0_pins>;
|
||||
// pinctrl-0 = <&pwm0m1_pins>;
|
||||
};
|
||||
&pwm1 {
|
||||
status = "okay";
|
||||
pinctrl-names = "active";
|
||||
pinctrl-0 = <&pwm1m0_pins>;
|
||||
// pinctrl-0 = <&pwm1m1_pins>;
|
||||
};
|
||||
|
||||
//&pwm2 {
|
||||
// status = "okay";
|
||||
// pinctrl-names = "active";
|
||||
// pinctrl-0 = <&pwm2m2_pins>;
|
||||
//};
|
||||
//&pwm3 {
|
||||
// status = "okay";
|
||||
// pinctrl-names = "active";
|
||||
// pinctrl-0 = <&pwm3m2_pins>;
|
||||
//};
|
||||
//&pwm4 {
|
||||
// status = "okay";
|
||||
// pinctrl-names = "active";
|
||||
// pinctrl-0 = <&pwm4m2_pins>;
|
||||
//};
|
||||
//&pwm5 {
|
||||
// status = "okay";
|
||||
// pinctrl-names = "active";
|
||||
// pinctrl-0 = <&pwm5m2_pins>;
|
||||
//};
|
||||
//&pwm6 {
|
||||
// status = "okay";
|
||||
// pinctrl-names = "active";
|
||||
// pinctrl-0 = <&pwm6m2_pins>;
|
||||
//};
|
||||
//&pwm7 {
|
||||
// status = "okay";
|
||||
// pinctrl-names = "active";
|
||||
// pinctrl-0 = <&pwm7m2_pins>;
|
||||
//};
|
||||
//&pwm8 {
|
||||
// status = "okay";
|
||||
// pinctrl-names = "active";
|
||||
// // pinctrl-0 = <&pwm8m1_pins>;
|
||||
// pinctrl-0 = <&pwm8m0_pins>;
|
||||
//};
|
||||
//&pwm9 {
|
||||
// status = "okay";
|
||||
// pinctrl-names = "active";
|
||||
// // pinctrl-0 = <&pwm9m1_pins>;
|
||||
// pinctrl-0 = <&pwm9m0_pins>;
|
||||
//};
|
||||
|
||||
&pwm10 {
|
||||
status = "okay";
|
||||
pinctrl-names = "active";
|
||||
pinctrl-0 = <&pwm10m1_pins>;
|
||||
// pinctrl-0 = <&pwm10m2_pins>;
|
||||
// pinctrl-0 = <&pwm10m0_pins>;
|
||||
};
|
||||
&pwm11 {
|
||||
status = "okay";
|
||||
pinctrl-names = "active";
|
||||
pinctrl-0 = <&pwm11m1_pins>;
|
||||
// pinctrl-0 = <&pwm11m2_pins>;
|
||||
// pinctrl-0 = <&pwm11m0_pins>;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_KERNEL_XZ=y
|
||||
CONFIG_DEFAULT_HOSTNAME="localhost"
|
||||
# CONFIG_SWAP is not set
|
||||
CONFIG_SYSVIPC=y
|
||||
CONFIG_NO_HZ=y
|
||||
CONFIG_HIGH_RES_TIMERS=y
|
||||
CONFIG_PREEMPT_VOLUNTARY=y
|
||||
CONFIG_LOG_BUF_SHIFT=14
|
||||
CONFIG_CGROUPS=y
|
||||
CONFIG_BLK_DEV_INITRD=y
|
||||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
|
||||
# CONFIG_BUG is not set
|
||||
# CONFIG_BASE_FULL is not set
|
||||
@@ -67,6 +68,8 @@ CONFIG_MTD_SPI_NOR=y
|
||||
CONFIG_MTD_SPI_NOR_MISC=y
|
||||
CONFIG_MTD_UBI=y
|
||||
CONFIG_MTD_UBI_BLOCK=y
|
||||
CONFIG_BLK_DEV_LOOP=y
|
||||
CONFIG_BLK_DEV_RAM=y
|
||||
CONFIG_NETDEVICES=y
|
||||
# CONFIG_NET_CORE is not set
|
||||
# CONFIG_NET_VENDOR_ALACRITECH is not set
|
||||
@@ -151,6 +154,7 @@ CONFIG_SPI=y
|
||||
CONFIG_SPI_ROCKCHIP=y
|
||||
CONFIG_SPI_ROCKCHIP_SFC=y
|
||||
CONFIG_SPI_SPIDEV=y
|
||||
CONFIG_SPI_SLAVE=y
|
||||
# CONFIG_PTP_1588_CLOCK is not set
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
CONFIG_POWER_RESET=y
|
||||
@@ -289,7 +293,6 @@ CONFIG_EXT4_FS=y
|
||||
CONFIG_EXPORTFS_BLOCK_OPS=y
|
||||
# CONFIG_DNOTIFY is not set
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_EXFAT_FS=y
|
||||
CONFIG_TMPFS=y
|
||||
CONFIG_JFFS2_FS=y
|
||||
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
|
||||
|
||||
Reference in New Issue
Block a user