diff --git a/foxbuntu/sysdrv/source/kernel/arch/arm/boot/dts/rv1103g-luckfox-pico-mini.dts b/foxbuntu/sysdrv/source/kernel/arch/arm/boot/dts/rv1103g-luckfox-pico-mini.dts new file mode 100644 index 0000000..6a72646 --- /dev/null +++ b/foxbuntu/sysdrv/source/kernel/arch/arm/boot/dts/rv1103g-luckfox-pico-mini.dts @@ -0,0 +1,85 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2023 Luckfox Electronics Co., Ltd. + */ + +/dts-v1/; + +#include "rv1103.dtsi" +#include "rv1106-evb.dtsi" +#include "rv1103-luckfox-pico-ipc.dtsi" + +/ { + model = "Luckfox Pico Mini"; + compatible = "rockchip,rv1103g-38x38-ipc-v10", "rockchip,rv1103"; +}; + +/**********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>; + }; +}; + +/**********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"; +}; + +/**********ETH**********/ +&gmac { + status = "okay"; +}; + +/**********USB**********/ +&usbdrd_dwc3 { + status = "okay"; + dr_mode = "host"; +}; + +/**********SPI**********/ +/* SPI0_M0 */ +&spi0 { + status = "okay"; + spidev@0 { + spi-max-frequency = <2000000>; + }; +}; + +/**********I2C**********/ +/* I2C3_M1 */ +&i2c3 { + status = "okay"; + clock-frequency = <100000>; +}; + +/**********UART**********/ +/* UART3_M1 */ +&uart3 { + status = "okay"; +}; + +/* UART4_M1 */ +&uart4 { + status = "okay"; +}; + +/**********PWM**********/ +/* PWM1_M0 */ +&pwm1 { + status = "disabled"; +};