导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. andy89926
    A
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 902
    • 主题 2
    • 帖子 23
    • 最佳 0
    • 群组 0

    andy89926LV 4

    @andy89926

    902
    积分
    0
    声望
    9
    资料浏览
    23
    帖子
    0
    粉丝
    0
    关注
    注册时间 最后登录

    andy89926 取消关注 关注

    andy89926 发布的最新帖子

    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      @yuzukitsuru 你这么一说很有可能嘞,我这个SD的插槽引脚都是下拉的,那应该就是高电平有效,cd-gpios = <&pio PF 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>这句话就错了。但是后面又有一个cd-inverted;;就不知道有没有被inverted过来。真是搞不懂设备树里这些词怎么解析。

      发布在 MR Series
      A
      andy89926
    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      @yuzukitsuru 你好,原理图上是PF6啊,原本的设备树里也是PF6,请问哪里错了?

      发布在 MR Series
      A
      andy89926
    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      @andy89926 破案了,
      &sdc0 {下面的
      /cd-gpios = <&pio PF 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;/
      /cd-inverted;/

      这两句话给它注释掉后,就可以开机了,不知道怎么回事,搞不懂原理

      发布在 MR Series
      A
      andy89926
    • 回复: 有偿求助:tina linux系统的高手

      @mhcsoft 请问这些原理图从哪里下载?

      发布在 Linux
      A
      andy89926
    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      @liangjian 是D1-H。开机是开机了,肯定也是识别出了SD卡,不知道为什么还会提示识别不了设备和分区,诡异得很 @allwinnertech 100ask 韦老师能帮忙看看么,感觉像是BR打包的问题

      发布在 MR Series
      A
      andy89926
    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      @liangjian 感谢您的热心回复,在下不才,只在设备树里把sdc1关了,sdc2开了,就再也开不了机了,改回来也开不了,不知道为什么。请帮我看下😧 。设备树如下

      /*
       * Allwinner Technology CO., Ltd. sun20iw1p1 fpga.
       *
       * fpga support.
       */
      
      /dts-v1/;
      
      #include "sun20iw1p1.dtsi"
      
      /{
      	compatible = "allwinner,d1", "arm,sun20iw1p1", "allwinner,sun20iw1p1";
      
      	aliases {
      		dsp0 = &dsp0;
      		dsp0_gpio_int= &dsp0_gpio_int;
      	};
      
      	dsp0: dsp0 {
      		compatible = "allwinner,sun20iw1-dsp";
      		status = "okay";
      	};
      
      	dsp0_gpio_int: dsp0_gpio_int {
      		compatible = "allwinner,sun20iw1-dsp-gpio-int";
      		pin-group = "PB", "PC", "PD", "PE";
      		status = "disabled";
      	};
      
      	reg_vdd_cpu: vdd-cpu {
      		compatible = "sunxi-pwm-regulator";
      		pwms = <&pwm 0 5000 0>;
      		regulator-name = "vdd_cpu";
      		regulator-min-microvolt = <810000>;
      		regulator-max-microvolt = <1160000>;
      		regulator-ramp-delay = <25>;
      		regulator-always-on;
      		regulator-boot-on;
      		status = "okay";
      	};
      
      	reg_usb1_vbus: usb1-vbus {
      		compatible = "regulator-fixed";
      		regulator-name = "usb1-vbus";
      		regulator-min-microvolt = <5000000>;
      		regulator-max-microvolt = <5000000>;
      		regulator-enable-ramp-delay = <1000>;
      		gpio = <&pio PD 19 GPIO_ACTIVE_HIGH>;
      		enable-active-high;
      	};
      };
      
      &CPU0 {
      	cpu-supply = <&reg_vdd_cpu>;
      };
      
      &pio {
      	sdc0_pins_a: sdc0@0 {   
      		allwinner,pins = "PF0", "PF1", "PF2",
      				 "PF3", "PF4", "PF5";
      		allwinner,function = "sdc0";
      		allwinner,muxsel = <2>;
      		allwinner,drive = <3>;
      		allwinner,pull = <1>;
      		pins = "PF0", "PF1", "PF2",
      		       "PF3", "PF4", "PF5";
      		function = "sdc0";
      		drive-strength = <30>;
      		bias-pull-up;
      		power-source = <3300>;
      	};
      
      
      	sdc0_pins_b: sdc0@1 {
      		pins = "PF0", "PF1", "PF2",
      		       "PF3", "PF4", "PF5";
      		function = "sdc0";
      		drive-strength = <30>;
      		bias-pull-up;
      		power-source = <1800>;
      	};
      
      	sdc0_pins_c: sdc0@2 {
      		pins = "PF0", "PF1", "PF2",
      			"PF3", "PF4", "PF5";
      		function = "gpio_in";
      	};
      
      	/* TODO: add jtag pin */
      	sdc0_pins_d: sdc0@3 {
      		pins = "PF2", "PF4";
      		function = "uart0";
      		drive-strength = <10>;
      		bias-pull-up;
      	};
      
      	sdc0_pins_e: sdc0@4 {
      		pins = "PF0", "PF1", "PF3",
      			"PF5";
      		function = "jtag";
      		drive-strength = <10>;
      		bias-pull-up;
      	};
      
      
      
      	sdc1_pins_a: sdc1@0 {
      		pins = "PG0", "PG1", "PG2",
      		       "PG3", "PG4", "PG5";
      		function = "sdc1";
      		drive-strength = <30>;
      		bias-pull-up;
      	};
      
      
      	sdc1_pins_b: sdc1@1 {
      		pins = "PG0", "PG1", "PG2",
      		       "PG3", "PG4", "PG5";
      			function = "gpio_in";
      	};
      
      	sdc2_pins_a: sdc2@0 {
      		allwinner,pins = "PC2", "PC3", "PC4",
      				 "PC5", "PC6", "PC7";
      		allwinner,function = "sdc2";
      		allwinner,muxsel = <3>;
      		allwinner,drive = <3>;
      		allwinner,pull = <1>;
      		pins = "PC2", "PC3", "PC4",
      			"PC5", "PC6", "PC7";
      		function = "sdc2";
      		drive-strength = <30>;
      		bias-pull-up;
      	};
      
      	sdc2_pins_b: sdc2@1 {
      		pins = "PC2", "PC3", "PC4",
      		       "PC5", "PC6", "PC7";
      		function = "gpio_in";
      	};
      
      	wlan_pins_a:wlan@0 {
      		pins = "PG11";
      		function = "clk_fanout1";
      	};
      
      	uart0_pins_a: uart0_pins@0 {  /* For nezha board */
      		pins = "PB8", "PB9";
      		function = "uart0";
      		drive-strength = <10>;
      		bias-pull-up;
      	};
      
      	uart0_pins_b: uart0_pins@1 {  /* For nezha board */
      		pins = "PB8", "PB9";
      		function = "gpio_in";
      	};
      
      	uart1_pins_a: uart1_pins@0 {  /* For modify board */
      		pins = "PG6", "PG7", "PG8", "PG9";
      		function = "uart1";
      		drive-strength = <10>;
      		bias-pull-up;
      	};
      
      	uart1_pins_b: uart1_pins {  /* For modify board */
      		pins = "PG6", "PG7", "PG8", "PG9";
      		function = "gpio_in";
      	};
      
      	uart2_pins_a: uart2_pins@0 {  /* For modify board */
      		pins = "PG17", "PG18";
      		function = "uart2";
      		drive-strength = <10>;
      		bias-pull-up;
      	};
      
      	uart2_pins_b: uart2_pins@1 {  /* For modify board */
      		pins = "PG17", "PG18";
      		function = "gpio_in";
      	};
      
      	uart3_pins_a: uart3_pins@0 {  /* For modify board */
      		pins = "PB6", "PB7";
      		function = "uart3";
      		/*muxsel = <5>;*/
      		drive-strength = <10>;
      		bias-pull-up;
      	};
      	uart3_pins_b: uart3_pins@1 {  /* For modify board */
      		pins = "PB6", "PB7";
      		function = "gpio_in";
      	};
      
      	uart4_pins_a: uart4_pins@0 {  /* For modify board */
      		pins = "PB2", "PB3";
      		function = "uart4";
      		/*muxsel = <5>;*/
      		drive-strength = <10>;
      		bias-pull-up;
      	};
      	uart4_pins_b: uart4_pins@1 {  /* For modify board */
      		pins = "PB2", "PB3";
      		function = "gpio_in";
      	};
      
      	uart5_pins_a: uart5_pins@0 {  /* For modify board */
      		pins = "PB4", "PB5";
      		function = "uart5";
      		/*muxsel = <5>;*/
      		drive-strength = <10>;
      		bias-pull-up;
      	};
      	uart5_pins_b: uart5_pins@1 {  /* For modify board */
      		pins = "PB4", "PB5";
      		function = "gpio_in";
      	};
      
      	twi0_pins_a: twi0@0 {
      		pins = "PB10", "PB11";	/*sck sda*/
      		function = "twi0";
      		drive-strength = <10>;
      	};
      
      	twi0_pins_b: twi0@1 {
      		pins = "PB10", "PB11";
      		function = "gpio_in";
      	};
      
      	twi1_pins_a: twi1@0 {
      		pins = "PB4", "PB5";
      		function = "twi1";
      		drive-strength = <10>;
      	};
      
      	twi1_pins_b: twi1@1 {
      		pins = "PB4", "PB5";
      		function = "gpio_in";
      	};
      
      	twi2_pins_a: twi2@0 {
      		pins = "PB0", "PB1";
      		function = "twi2";
      		drive-strength = <10>;
      	};
      
      	twi2_pins_b: twi2@1 {
      		pins = "PB0", "PB1";
      		function = "gpio_in";
      	};
      
      	twi3_pins_a: twi3@0 {   /* For modify board */
      		pins = "PG10", "PG11";
      		function = "twi3";
      		drive-strength = <10>;
      	};
      
      	twi3_pins_b: twi3@1 {   /* For modify board */
      		pins = "PG10", "PG11";
      		function = "gpio_in";
      	};
      
      	gmac_pins_a: gmac@0 {
      		pins = "PE0", "PE1", "PE2", "PE3",
      		       "PE4", "PE5", "PE6", "PE7",
      		       "PE8", "PE9", "PE10", "PE11",
      		       "PE12", "PE13", "PE14", "PE15";
      		function = "gmac0";
      		drive-strength = <10>;
      	};
      
      	gmac_pins_b: gmac@1 {
      		pins = "PE0", "PE1", "PE2", "PE3",
      		       "PE4", "PE5", "PE6", "PE7",
      		       "PE8", "PE9", "PE10", "PE11",
      		       "PE12", "PE13", "PE14", "PE15";
      		function = "gpio_in";
      	};
      
      	dmic_pins_a: dmic@0 {
      		/* DMIC_PIN: CLK, DATA0, DATA1, DATA2 */
      		pins = "PE17", "PB11", "PB10", "PD17";
      		function = "dmic";
      		drive-strength = <20>;
      		bias-disable;
      	};
      
      	dmic_pins_b: dmic@1 {
      		pins = "PE17", "PB11", "PB10", "PD17";
      		function = "io_disabled";
      		drive-strength = <20>;
      		bias-disable;
      	};
      
      	daudio0_pins_a: daudio0@0 {
      		pins = "PE17", "PE16", "PE15", "PE14", "PE13";
      		function = "i2s0";
      		drive-strength = <20>;
      		bias-disable;
      	};
      
      	daudio0_pins_b: daudio0_sleep@0 {
      		pins = "PE17", "PE16", "PE15", "PE14", "PE13";
      		function = "io_disabled";
      		drive-strength = <20>;
      		bias-disable;
      	};
      
      	daudio1_pins_a: daudio1@0 {
      		pins = "PG11", "PG12", "PG13", "PG14", "PG15";
      		function = "i2s1";
      		drive-strength = <20>;
      		bias-disable;
      	};
      
      	daudio1_pins_b: daudio1_sleep@0 {
      		pins = "PG11", "PG12", "PG13", "PG14", "PG15";
      		function = "io_disabled";
      		drive-strength = <20>;
      		bias-disable;
      	};
      
      	daudio2_pins_a: daudio2@0 {
      		/* I2S_PIN: MCLK, BCLK, LRCK */
      		pins = "PB7", "PB5", "PB6";
      		function = "i2s2";
      		drive-strength = <20>;
      		bias-disable;
      	};
      
      	daudio2_pins_b: daudio2@1 {
      		/* I2S_PIN: DOUT0 */
      		pins = "PB4";
      		function = "i2s2_dout";
      		drive-strength = <20>;
      		bias-disable;
      	};
      
      	daudio2_pins_c: daudio2@2 {
      		/* I2S_PIN: DIN0 */
      		pins = "PB3";
      		function = "i2s2_din";
      		drive-strength = <20>;
      		bias-disable;
      	};
      
      	daudio2_pins_d: daudio2_sleep@0 {
      		pins = "PB7", "PB5", "PB6", "PB4", "PB3";
      		function = "io_disabled";
      		drive-strength = <20>;
      		bias-disable;
      	};
      
      	spdif_pins_a: spdif@0 {
      		/* SPDIF_PIN: SPDIF_OUT */
      		pins = "PB0";
      		function = "spdif";
      		drive-strength = <20>;
      		bias-disable;
      	};
      
      	spdif_pins_b: spdif_sleep@0 {
      		pins = "PB0";
      		function = "io_disabled";
      		drive-strength = <20>;
      		bias-disable;
      	};
      
      	spi0_pins_a: spi0@0 {   /* For modify board */
      		pins = "PC2", "PC4", "PC5","PC7", "PC6"; /*clk mosi miso hold wp*/
      		function = "spi0";
      		muxsel = <2>;
      		drive-strength = <10>;
      	};
      
      	spi0_pins_b: spi0@1 {   /* For modify board */
      		pins = "PC3", "PC7", "PC6";
      		function = "spi0";
      		muxsel = <2>;
      		drive-strength = <10>;
      		bias-pull-up;   /* only CS should be pulled up */
      	};
      
      	spi0_pins_c: spi0@2 {   /* For modify board */
      		pins = "PC2", "PC3", "PC4", "PC5","PC6", "PC7";
      		function = "gpio_in";
      		muxsel = <0>;
      		drive-strength = <10>;
      	};
      
      	spi1_pins_a: spi1@0 {  /* For modify board */
      		pins = "PD11", "PD12", "PD13","PD14", "PD15"; /*clk mosi miso hold wp*/
      		function = "spi1";
      		muxsel = <4>;
      		drive-strength = <10>;
      	};
      
      	spi1_pins_b: spi1@1 {  /* For modify board */
      		pins = "PD10";
      		function = "spi1";
      		muxsel = <4>;
      		drive-strength = <10>;
      		bias-pull-up;   // only CS should be pulled up
      	};
      
      	spi1_pins_c: spi1@2 {   /* For modify board */
      		pins = "PD10", "PD11", "PD12", "PD13","PD14", "PD15";
      		function = "gpio_in";
      		muxsel = <4>;
      		drive-strength = <10>;
      	};
      
      	ledc_pins_a: ledc@0 {
      		pins = "PC0";
      		function = "ledc";
      		drive-strength = <10>;
      	};
      
      	ledc_pins_b: ledc@1 {
      		pins = "PC0";
      		function = "gpio_in";
      	};
      
      	pwm0_pin_a: pwm0@0 {
      		pins = "PD16";
      		function = "pwm0";
      		drive-strength = <10>;
      		bias-pull-up;
      	};
      
      	pwm0_pin_b: pwm0@1 {
      		pins = "PD16";
      		function = "gpio_in";
      		bias-disable;
      	};
      
      	pwm2_pin_a: pwm2@0 {
      		pins = "PD18";
      		function = "pwm2";
      		drive-strength = <10>;
      		bias-pull-up;
      	};
      
      	pwm2_pin_b: pwm2@1 {
      		pins = "PD18";
      		function = "gpio_in";
      	};
      
      /*
      	pwm7_pin_a: pwm7@0 {
      		pins = "PD22";
      		function = "pwm7";
      		drive-strength = <10>;
      		bias-pull-up;
      	};
      
      	pwm7_pin_b: pwm7@1 {
      		pins = "PD22";
      		function = "gpio_in";
      	};
      */
      
      	s_cir0_pins_a: s_cir@0 {
      		pins = "PB12";
      		function = "ir";
      		drive-strength = <10>;
      		bias-pull-up;
      	};
      
      	s_cir0_pins_b: s_cir@1 {
      		pins = "PB12";
      		function = "gpio_in";
      	};
      
      	ir1_pins_a: ir1@0 {
      		pins = "PB0";
      		function = "ir";
      		drive-strength = <10>;
      		bias-pull-up;
      	};
      
      	ir1_pins_b: ir1@1 {
      		pins = "PB0";
      		function = "gpio_in";
      	};
      };
      
      &uart0 {
      	pinctrl-names = "default", "sleep";
      	pinctrl-0 = <&uart0_pins_a>;
      	pinctrl-1 = <&uart0_pins_b>;
      	status = "okay";
      };
      
      &uart1 {
      	pinctrl-names = "default", "sleep";
      	pinctrl-0 = <&uart1_pins_a>;
      	pinctrl-1 = <&uart1_pins_b>;
      	status = "okay";
      };
      
      &uart2 {
      	pinctrl-names = "default", "sleep";
      	pinctrl-0 = <&uart2_pins_a>;
      	pinctrl-1 = <&uart2_pins_b>;
      	status = "okay";
      };
      
      &uart3 {
      	/*compatible = "allwinner,sun20iw1-dsp-uart";*/
      	pinctrl-names = "default", "sleep";
      	pinctrl-0 = <&uart3_pins_a>;
      	pinctrl-1 = <&uart3_pins_a>;
      	status = "okay";
      };
      
      &uart4 {
      	/*compatible = "allwinner,sun20iw1-dsp-uart";*/
      	pinctrl-names = "default", "sleep";
      	pinctrl-0 = <&uart4_pins_a>;
      	pinctrl-1 = <&uart4_pins_a>;
      	status = "okay";
      };
      
      &uart5 {
      	/*compatible = "allwinner,sun20iw1-dsp-uart";*/
      	pinctrl-names = "default", "sleep";
      	pinctrl-0 = <&uart5_pins_a>;
      	pinctrl-1 = <&uart5_pins_a>;
      	status = "okay";
      };
      
      &soc {
      	card0_boot_para@2 {
      		/*
      		 * Avoid dtc compiling warnings.
      		 * @TODO: Developer should modify this to the actual value
      		 */
      		reg = <0x0 0x2 0x0 0x0>;
      		device_type = "card0_boot_para";
      		card_ctrl = <0x0>;
      		card_high_speed = <0x1>;
      		card_line = <0x4>;
      		pinctrl-0 = <&sdc0_pins_a>;
      	};
      
      	card2_boot_para@3 {
      		/*
      		 * Avoid dtc compiling warnings.
      		 * @TODO: Developer should modify this to the actual value
      		 */
      		reg = <0x0 0x3 0x0 0x0>;
      		device_type = "card2_boot_para";
      		card_ctrl = <0x2>;
      		card_high_speed = <0x1>;
      		card_line = <0x4>;
      		pinctrl-0 = <&sdc2_pins_a>;    
      		/*pinctrl-0 = <&sdc0_pins_a>;*/ 
      		/*sdc_ex_dly_used = <0x2>;*/
      		sdc_io_1v8 = <0x1>;       /* modify board*/
      		/*sdc_type = "tm4";*/
      		sdc_tm4_hs200_max_freq = <150>;
      		sdc_tm4_hs400_max_freq = <100>;
      		sdc_ex_dly_used = <2>;
      		/*sdc_tm4_win_th = <8>;*/
      		/*sdc_dis_host_caps = <0x180>;*/
      	};
      
      	rfkill: rfkill@0 {
      		compatible    = "allwinner,sunxi-rfkill";
      		chip_en;
      		power_en;
      		status        = "disabled";
      		                         
      		wlan: wlan@0 {
      			compatible    = "allwinner,sunxi-wlan";
      			pinctrl-0 = <&wlan_pins_a>;
      			pinctrl-names = "default";
      			clock-names = "32k-fanout1";
      			clocks = <&ccu CLK_FANOUT1_OUT>;
      			wlan_busnum    = <0x1>;
      			wlan_regon    = <&pio PG 12 GPIO_ACTIVE_HIGH>;
      			wlan_hostwake  = <&pio PG 10 GPIO_ACTIVE_HIGH>;
      			/*wlan_power    = "VCC-3V3";*/
      			/*wlan_power_vol = <3300000>;*/
      			/*interrupt-parent = <&pio>;
      			interrupts = < PG 10 IRQ_TYPE_LEVEL_HIGH>;*/
      			wakeup-source;
      			status        = "disabled";
      		};
      
      		bt: bt@0 {
      			compatible    = "allwinner,sunxi-bt";
      			pinctrl-0 = <&wlan_pins_a>;
      			pinctrl-names = "default";
      			clock-names = "32k-fanout1";
      			clocks = <&ccu CLK_FANOUT1_OUT>;
      			/*bt_power_num = <0x01>;*/
      			/*bt_power      = "axp803-dldo1";*/
      			/*bt_io_regulator = "axp803-dldo1";*/
      			/*bt_io_vol = <3300000>;*/
      			/*bt_power_vol = <330000>;*/
      			bt_rst_n      = <&pio PG 18 GPIO_ACTIVE_LOW>;
      			status        = "disabled";
      		};
      		
      	};
      
      	btlpm: btlpm@0 {
      		compatible  = "allwinner,sunxi-btlpm";
      		uart_index  = <0x1>;
      		bt_wake     = <&pio PG 16 GPIO_ACTIVE_HIGH>;
      		bt_hostwake = <&pio PG 17 GPIO_ACTIVE_HIGH>;
      		status      = "okay";
      	};
      
      	addr_mgt: addr_mgt@0 {
      		compatible     = "allwinner,sunxi-addr_mgt";
      		type_addr_wifi = <0x0>;
      		type_addr_bt   = <0x0>;
      		type_addr_eth  = <0x0>;
      		status         = "okay";
      	};
      };
      
      &sdc2 {
      	non-removable;
      	bus-width = <4>;
      	mmc-ddr-1_8v;
      	mmc-hs200-1_8v;
      	no-sdio;
      	no-sd;
      	ctl-spec-caps = <0x308>;
      	cap-mmc-highspeed;
      	sunxi-power-save-mode;
      	sunxi-dis-signal-vol-sw;
      	mmc-bootpart-noacc;
      	max-frequency = <150000000>;
      	/*vmmc-supply = <&reg_dcdc1>;*/
      	/*emmc io vol 3.3v*/
      	/*vqmmc-supply = <&reg_aldo1>;*/
      	/*emmc io vol 1.8v*/
      	/*vqmmc-supply = <&reg_eldo1>;*/
      	status = "okay";
      };
      
      
      &sdc0 {
      	bus-width = <4>;
      	cd-gpios = <&pio PF 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
      	/*non-removable;*/
      	/*broken-cd;*/
      	cd-inverted;
      	/*data3-detect;*/
      	/*card-pwr-gpios = <&pio PH 14 1 1 2 0xffffffff>;*/
      	cd-used-24M;
      	cap-sd-highspeed;
      	/*sd-uhs-sdr50;*/
      	/*sd-uhs-ddr50;*/
      	/*sd-uhs-sdr104;*/
      	no-sdio;
      	no-mmc;
      	sunxi-power-save-mode;
      	/*sunxi-dis-signal-vol-sw;*/
      	max-frequency = <150000000>;
      	ctl-spec-caps = <0x8>;
      	/*vmmc-supply = <&reg_dcdc1>;*/
      	/*vqmmc33sw-supply = <&reg_dcdc1>;*/
      	/*vdmmc33sw-supply = <&reg_dcdc1>;*/
      	/*vqmmc18sw-supply = <&reg_eldo1>;*/
      	/*vdmmc18sw-supply = <&reg_eldo1>;*/
      	status = "okay";
      };
      
      
      &sdc1 {
      	bus-width = <4>;
      	no-mmc;
      	no-sd;
      	cap-sd-highspeed;
      	/*sd-uhs-sdr12*/
      	/*sd-uhs-sdr25;*/
      	/*sd-uhs-sdr50;*/
      	/*sd-uhs-ddr50;*/
      	/*sd-uhs-sdr104;*/
      	/*sunxi-power-save-mode;*/
      	/*sunxi-dis-signal-vol-sw;*/
      	cap-sdio-irq;
      	keep-power-in-suspend;
      	ignore-pm-notify;
      	max-frequency = <150000000>;
      	ctl-spec-caps = <0x8>;
      	status = "disabled";
      };
      
      
      /*
      tvd configuration
      used                   (create device, 0: do not create device, 1: create device)
      agc_auto_enable        (0: agc manual mode,agc_manual_value is valid; 1: agc auto mode)
      agc_manual_value       (agc manual value, default value is 64)
      cagc_enable            (cagc        0: disable, 1: enable)
      fliter_used            (3d fliter   0: disable, 1: enable)
      support two PMU power  (tvd_power0, tvd_power1)
      support two GPIO power (tvd_gpio0, tvd_gpio1)
      NOTICE: If tvd need pmu power or gpio power,params need be configured under [tvd]
      tvd_sw                 (the switch of all tvd driver.)
      tvd_interface          (0: cvbs, 1: ypbpr,)
      tvd_format             (0:TVD_PL_YUV420 , 1: MB_YUV420, 2: TVD_PL_YUV422)
      tvd_system             (0:ntsc, 1:pal)
      tvd_row                (total row number in multi channel mode 1-2)
      tvd_column             (total column number in multi channel mode 1-2)
      tvd_channelx_en        (0:disable, 1~4:position in multi channel mode,In single channel
                             mode,mean enable)
      tvd_row*tvd_column is the total tvd channel number to be used in multichannel mode
      +--------------------+--------------------+
      |                    |                    |
      |                    |                    |
      |         1          |         2          |
      |                    |                    |
      |                    |                    |
      +--------------------+--------------------+
      |                    |                    |
      |                    |                    |
      |         3          |         4          |
      |                    |                    |
      |                    |                    |
      +--------------------+--------------------+
      */
      
      &tvd {
      	tvd_sw          = <1>;
      	tvd_interface   = <0>;
      	tvd_format      = <0>;
      	tvd_system      = <1>;
      	tvd_row         = <1>;
      	tvd_column      = <1>;
      	tvd_channel0_en = <1>;
      	tvd_channel1_en = <0>;
      	tvd_channel2_en = <0>;
      	tvd_channel3_en = <0>;
      	/*tvd_gpio0 = <&pio PD 22 GPIO_ACTIVE_HIGH>;*/
      	/*tvd_gpio1 = <&pio PD 23 GPIO_ACTIVE_HIGH>;*/
      	/*tvd_gpio2 = <&pio PD 24 GPIO_ACTIVE_HIGH>;*/
      	/*	dc1sw-supply = <&reg_dc1sw>;*/
      	/*	eldo3-supply = <&reg_eldo3>;*/
      	/*tvd_power0      = "dc1sw"*/
      	/*tvd_power1      = "eldo3"*/
      };
      
      &tvd0 {
      	used                    = <1>;
      	agc_auto_enable         = <1>;
      	agc_manual_value        = <64>;
      	cagc_enable             = <1>;
      	fliter_used             = <1>;
      };
      
      /* Audio Driver modules */
      &sunxi_rpaf_dsp0 {
      	status = "okay";
      };
      
      /* if audiocodec is used, sdc0 and uart0 should be closed to enable PA. */
      &codec {
      	/* MIC and headphone gain setting */
      	mic1gain 	= <0x13>;
      	mic2gain 	= <0x13>;
      	mic3gain 	= <0x13>;
      	/* ADC/DAC DRC/HPF func enabled */
              /* 0x1:DAP_HP_EN; 0x2:DAP_SPK_EN; 0x3:DAP_HPSPK_EN */
      	adcdrc_cfg 	= <0x0>;
      	adchpf_cfg 	= <0x1>;
      	dacdrc_cfg 	= <0x0>;
      	dachpf_cfg 	= <0x0>;
      	/* Volume about */
      	digital_vol 	= <0x00>;
      	lineout_vol 	= <0x1a>;
      	headphonegain	= <0x03>;
      	/* Pa enabled about */
      	pa_level 	= <0x01>;
      	pa_pwr_level 	= <0x01>;
      	pa_msleep_time 	= <0x78>;
      	/* gpio-spk	= <&pio PF 2 GPIO_ACTIVE_HIGH>; */
      	/* gpio-spk-pwr	= <&pio PF 4 GPIO_ACTIVE_HIGH>; */
      	/* regulator about */
      	/* avcc-supply	= <&reg_aldo1>; */
      	/* hpvcc-supply	= <&reg_eldo1>; */
      	status = "okay";
      };
      
      &sndcodec {
      	hp_detect_case	= <0x01>;
      	jack_enable	= <0x01>;
      	status = "okay";
      };
      
      &dummy_cpudai {
      	/* CMA config about */
      	playback_cma	= <128>;
      	capture_cma	= <256>;
      	status = "okay";
      };
      
      &dmic {
      	pinctrl-names   = "default","sleep";
      	pinctrl-0       = <&dmic_pins_a>;
      	pinctrl-1       = <&dmic_pins_b>;
      	status = "okay";
      };
      
      &sounddmic {
      	status = "okay";
      };
      
      &dmic_codec {
      	status = "okay";
      };
      
      /*-----------------------------------------------------------------------------
       * pcm_lrck_period	16/32/64/128/256
       *			(set 0x20 for HDMI audio out)
       * slot_width_select	16bits/20bits/24bits/32bits
       *			(set 0x20 for HDMI audio out)
       * frametype		0 --> short frame = 1 clock width;
       *			1 --> long frame = 2 clock width;
       * tdm_config		0 --> pcm
       *			1 --> i2s
       *			(set 0x01 for HDMI audio out)
       * mclk_div		0 --> not output
       *			1/2/4/6/8/12/16/24/32/48/64/96/128/176/192
       *			(set mclk as external codec clk source, freq is pll_audio/mclk_div)
       * pinctrl_used		0 --> I2S/PCM use for internal (e.g. HDMI)
       *			1 --> I2S/PCM use for external audio
       * daudio_type:		0 --> external audio type
       *			1 --> HDMI audio type
       *---------------------------------------------------------------------------*/
      &daudio0 {
      	mclk_div 	= <0x01>;
      	frametype 	= <0x00>;
      	tdm_config 	= <0x01>;
      	sign_extend 	= <0x00>;
      	msb_lsb_first 	= <0x00>;
      	pcm_lrck_period = <0x80>;
      	slot_width_select = <0x20>;
      	pinctrl-names   = "default", "sleep";
      	pinctrl-0       = <&daudio0_pins_a>;
      	pinctrl-1       = <&daudio0_pins_b>;
      	pinctrl_used	= <0x0>;
      	status = "disabled";
      };
      
      /*-----------------------------------------------------------------------------
       * simple-audio-card,name	name of sound card, e.g.
       *				"snddaudio0" --> use for external audio
       *				"sndhdmi" --> use for HDMI audio
       * sound-dai			"snd-soc-dummy" --> use for I2S
       *				"hdmiaudio" --> use for HDMI audio
       *				"ac108" --> use for external audio of ac108
       *---------------------------------------------------------------------------*/
      &sounddaudio0 {
      	/* simple-audio-card,format = "i2s"; */
      	/* simple-audio-card,frame-master = <&daudio0_master>; */
      	/* simple-audio-card,bitclock-master = <&daudio0_master>; */
      	/* simple-audio-card,bitclock-inversion; */
      	/* simple-audio-card,frame-inversion; */
      	status = "disabled";
      	daudio0_master: simple-audio-card,codec {
      		/* sound-dai = <&ac108>; */
      	};
      };
      
      &daudio1 {
      	mclk_div 	= <0x01>;
      	frametype 	= <0x00>;
      	tdm_config 	= <0x01>;
      	sign_extend 	= <0x00>;
      	msb_lsb_first 	= <0x00>;
      	pcm_lrck_period = <0x80>;
      	slot_width_select = <0x20>;
      	pinctrl-names   = "default", "sleep";
      	pinctrl-0       = <&daudio1_pins_a>;
      	pinctrl-1       = <&daudio1_pins_b>;
      	pinctrl_used	= <0x0>;
      	status = "disabled";
      };
      
      &sounddaudio1 {
      	status = "disabled";
      	daudio1_master: simple-audio-card,codec {
      		/* sound-dai = <&ac108>; */
      	};
      };
      
      &daudio2 {
      	mclk_div 	= <0x00>;
      	frametype 	= <0x00>;
      	tdm_config 	= <0x01>;
      	sign_extend 	= <0x00>;
      	tx_data_mode 	= <0x00>;
      	rx_data_mode 	= <0x00>;
      	msb_lsb_first 	= <0x00>;
      	pcm_lrck_period = <0x20>;
      	slot_width_select = <0x20>;
      	asrc_function_en  = <0x00>;
      	pinctrl-names   = "default", "sleep";
      	/*pinctrl-0       = <&daudio2_pins_a &daudio2_pins_b &daudio2_pins_c>;*/
      	/*pinctrl-1       = <&daudio2_pins_d>;*/
      	/* HDMI audio, no need pin */
      	pinctrl-0;
      	pinctrl-1;
      	pinctrl_used	= <0x0>;
      	daudio_type	= <0x1>;
      	status = "okay";
      };
      
      /* if HDMI audio is used, daudio2 should be enable. */
      &hdmiaudio {
      	status = "okay";
      };
      
      &sounddaudio2 {
      	status = "okay";
      	simple-audio-card,name = "sndhdmi";
      	daudio2_master: simple-audio-card,codec {
      		sound-dai = <&hdmiaudio>;
      	};
      };
      
      &spdif {
      	pinctrl-names   = "default","sleep";
      	pinctrl-0       = <&spdif_pins_a>;
      	pinctrl-1       = <&spdif_pins_b>;
      	status = "disabled";
      };
      
      &soundspdif {
      	status = "disabled";
      };
      
      /*
       *usb_port_type: usb mode. 0-device, 1-host, 2-otg.
       *usb_detect_type: usb hotplug detect mode. 0-none, 1-vbus/id detect, 2-id/dpdm detect.
       *usb_detect_mode: 0-thread scan, 1-id gpio interrupt.
       *usb_id_gpio: gpio for id detect.
       *usb_det_vbus_gpio: gpio for id detect. gpio or "axp_ctrl";
       *usb_wakeup_suspend:0-SUPER_STANDBY, 1-USB_STANDBY.
       */
      &usbc0 {
      	device_type = "usbc0";
      	usb_port_type = <0x2>;
      	usb_detect_type = <0x1>;
      	usb_detect_mode = <0>;
      	usb_id_gpio = <&pio PD 21 GPIO_ACTIVE_HIGH>;
      	enable-active-high;
      	usb_det_vbus_gpio = <&pio PD 20 GPIO_ACTIVE_HIGH>;
      	usb_wakeup_suspend = <0>;
      	usb_serial_unique = <0>;
      	usb_serial_number = "20080411";
      	rndis_wceis = <1>;
      	status = "okay";
      };
      
      &ehci0 {
      	drvvbus-supply = <&reg_usb1_vbus>;
      };
      
      &ohci0 {
      	drvvbus-supply = <&reg_usb1_vbus>;
      };
      
      &usbc1 {
      	device_type = "usbc1";
      	usb_regulator_io = "nocare";
      	usb_wakeup_suspend = <0>;
      	status = "okay";
      };
      
      &ehci1 {
      	status = "okay";
      };
      
      &ohci1 {
      	status = "okay";
      };
      
      &twi0 {
      	clock-frequency = <400000>;
      	pinctrl-0 = <&twi0_pins_a>;
      	pinctrl-1 = <&twi0_pins_b>;
      	pinctrl-names = "default", "sleep";
      	status = "okay";
      
      	eeprom@50 {
      		compatible = "atmel,24c16";
      		reg = <0x50>;
      		status = "disabled";
      	};
      };
      
      &twi1 {
      	clock-frequency = <400000>;
      	pinctrl-0 = <&twi1_pins_a>;
      	pinctrl-1 = <&twi1_pins_b>;
      	pinctrl-names = "default", "sleep";
      	status = "disabled";
      };
      
      &twi2 {
      	clock-frequency = <400000>;
      	pinctrl-0 = <&twi2_pins_a>;
      	pinctrl-1 = <&twi2_pins_b>;
      	pinctrl-names = "default", "sleep";
      	dmas = <&dma 45>, <&dma 45>;
      	dma-names = "tx", "rx";
      	status = "okay";
      
      	/* pcf8574-usage:
      	 * only use gpio0~7, 0 means PP0.
      	 * pin set:
      	 * gpios = <&pcf8574 0 GPIO_ACTIVE_LOW>;
      	 * interrupt set:
      	 * interrupt-parent = <&pcf8574>;
      	 * interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
      	 */
      	pcf8574: gpio@38 {
      		compatible = "nxp,pcf8574";
      		reg = <0x38>;
      		gpio_base = <2020>;
      		gpio-controller;
      		#gpio-cells = <2>;
      		interrupt-controller;
      		#interrupt-cells = <2>;
      		interrupt-parent = <&pio>;
      		interrupts = <PB 2 IRQ_TYPE_EDGE_FALLING>;
      		status = "okay";
      	};
      
      	ctp@14 {
      		compatible = "allwinner,goodix";
      		device_type = "ctp";
      		reg = <0x14>;
      		status = "disabled";
      		ctp_name = "gt9xxnew_ts";
      		ctp_twi_id = <0x2>;
      		ctp_twi_addr = <0x14>;
      		ctp_screen_max_x = <0x320>;
      		ctp_screen_max_y = <0x500>;
      		ctp_revert_x_flag = <0x0>;
      		ctp_revert_y_flag = <0x0>;
      		ctp_exchange_x_y_flag = <0x0>;
      		ctp_int_port = <&pio PG 14 GPIO_ACTIVE_HIGH>;
      		ctp_wakeup = <&pio PG 15 GPIO_ACTIVE_HIGH>;
      	};
      };
      
      &twi3 {    /* modify*/
      	clock-frequency = <400000>;
      	pinctrl-0 = <&twi3_pins_a>;
      	pinctrl-1 = <&twi3_pins_b>;
      	pinctrl-names = "default", "sleep";
      	status = "okay";
      };
      
      &gmac0 {
      	phy-mode = "rgmii";
      	use_ephy25m = <1>;
      	pinctrl-0 = <&gmac_pins_a>;
      	pinctrl-1 = <&gmac_pins_b>;
      	pinctrl-names = "default", "sleep";
      	phy-rst = <&pio PE 16 GPIO_ACTIVE_HIGH>;
      	tx-delay = <3>; /*2~4*/
      	rx-delay = <0>;
      	status = "okay";
      };
      
      &spi0 {    /* modify*/
      	clock-frequency = <100000000>;
      	pinctrl-0 = <&spi0_pins_a &spi0_pins_b>;
      	pinctrl-1 = <&spi0_pins_c>;
      	pinctrl-names = "default", "sleep";
      	/*spi-supply = <&reg_dcdc1>;*/
      	spi_slave_mode = <0>;
      	spi0_cs_number = <1>;
              spi0_cs_bitmap = <1>;
      	status = "disabled";  /* modify*/
      
      	spi-nand@0 {
      		compatible = "spi-nand";
      		spi-max-frequency=<0x5F5E100>;
      		reg = <0x0>;
      		spi-rx-bus-width=<0x04>;
      		spi-tx-bus-width=<0x04>;
      		status="disabled";
      	};
      };
      
      &spi1 {     /* modify*/
      	clock-frequency = <100000000>;
      	pinctrl-0 = <&spi1_pins_a &spi1_pins_b>;
      	pinctrl-1 = <&spi1_pins_c>;
      	pinctrl-names = "default", "sleep";
      	spi_slave_mode = <0>;
      	status = "okay";
      
      	spidev@0 {
      		/*  device_type = "spi_board1";    */
      		compatible = "rohm,dh2228fv";
      		spi-max-frequency = <0x5f5e100>;
      		reg = <0x0>;
      		spi-rx-bus-width = <0x4>;
      		spi-tx-bus-width = <0x4>;
      		status = "okay";
      	};
      };
      
      &ledc {
      	pinctrl-names = "default", "sleep";
      	pinctrl-0 = <&ledc_pins_a>;
      	pinctrl-1 = <&ledc_pins_b>;
      	led_count = <12>;
      	output_mode = "GRB";
      	reset_ns = <84>;
      	t1h_ns = <800>;
      	t1l_ns = <320>;
      	t0h_ns = <300>;
      	t0l_ns = <800>;
      	wait_time0_ns = <84>;
      	wait_time1_ns = <84>;
      	wait_data_time_ns = <600000>;
      	status	= "okay";
      };
      
      &keyboard0 {
      	key0 = <210 0x160>;
      	wakeup-source;
      	status = "okay";
      };
      
      /*----------------------------------------------------------------------------------
      disp init configuration
      
      disp_mode             (0:screen0<screen0,fb0>)
      screenx_output_type   (0:none; 1:lcd; 2:tv; 3:hdmi;5:vdpo)
      screenx_output_mode   (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)
                            (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)
      screenx_output_format (for hdmi, 0:RGB 1:yuv444 2:yuv422 3:yuv420)
      screenx_output_bits   (for hdmi, 0:8bit 1:10bit 2:12bit 2:16bit)
      screenx_output_eotf   (for hdmi, 0:reserve 4:SDR 16:HDR10 18:HLG)
      screenx_output_cs     (for hdmi, 0:undefined  257:BT709 260:BT601  263:BT2020)
      screenx_output_dvi_hdmi (for hdmi, 0:undefined 1:dvi mode 2:hdmi mode)
      screen0_output_range   (for hdmi, 0:default 1:full 2:limited)
      screen0_output_scan    (for hdmi, 0:no data 1:overscan 2:underscan)
      screen0_output_aspect_ratio  (for hdmi, 8-same as original picture 9-4:3 10-16:9 11-14:9)
      fbx format            (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444)
      fbx pixel sequence    (0:ARGB 1:BGRA 2:ABGR 3:RGBA)
      fb0_scaler_mode_enable(scaler mode enable, used FE)
      fbx_width,fbx_height  (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0)
      lcdx_backlight        (lcd init backlight,the range:[0,256],default:197
      lcdx_yy               (lcd init screen bright/contrast/saturation/hue, value:0~100, default:50/50/57/50)
      lcd0_contrast         (LCD contrast, 0~100)
      lcd0_saturation       (LCD saturation, 0~100)
      lcd0_hue              (LCD hue, 0~100)
      framebuffer software rotation setting:
      disp_rotation_used:   (0:disable; 1:enable,you must set fbX_width to lcd_y,
      set fbX_height to lcd_x)
      degreeX:              (X:screen index; 0:0 degree; 1:90 degree; 3:270 degree)
      degreeX_Y:            (X:screen index; Y:layer index 0~15; 0:0 degree; 1:90 degree; 3:270 degree)
      devX_output_type : config output type in bootGUI framework in UBOOT-2018.
      				   (0:none; 1:lcd; 2:tv; 4:hdmi;)
      devX_output_mode : config output resolution(see include/video/sunxi_display2.h) of bootGUI framework in UBOOT-2018
      devX_screen_id   : config display index of bootGUI framework in UBOOT-2018
      devX_do_hpd      : whether do hpd detectation or not in UBOOT-2018
      chn_cfg_mode     : Hardware DE channel allocation config. 0:single display with 6
      				   channel, 1:dual display with 4 channel in main display and 2 channel in second
                         display, 2:dual display with 3 channel in main display and 3 channel in second
                         in display.
      ----------------------------------------------------------------------------------*/
      &disp {
      	disp_init_enable         = <1>;
      	disp_mode                = <0>;
      
      	screen0_output_type      = <1>;
      	screen0_output_mode      = <4>;
      
      	screen1_output_type      = <3>;
      	screen1_output_mode      = <10>;
      
      	screen1_output_format    = <0>;
      	screen1_output_bits      = <0>;
      	screen1_output_eotf      = <4>;
      	screen1_output_cs        = <257>;
      	screen1_output_dvi_hdmi  = <2>;
      	screen1_output_range     = <2>;
      	screen1_output_scan      = <0>;
      	screen1_output_aspect_ratio = <8>;
      
      	dev0_output_type         = <1>;
      	dev0_output_mode         = <4>;
      	dev0_screen_id           = <0>;
      	dev0_do_hpd              = <0>;
      
      	dev1_output_type         = <4>;
      	dev1_output_mode         = <10>;
      	dev1_screen_id           = <1>;
      	dev1_do_hpd              = <1>;
      
      	def_output_dev           = <0>;
      	hdmi_mode_check          = <1>;
      
      	fb0_format               = <0>;
      	fb0_width                = <0>;
      	fb0_height               = <0>;
      
      	fb1_format               = <0>;
      	fb1_width                = <0>;
      	fb1_height               = <0>;
      	chn_cfg_mode             = <1>;
      
      	disp_para_zone           = <1>;
      	/*VCC-LCD*/
      /*	dc1sw-supply = <&reg_dc1sw>;*/
      	/*VCC-DSI*/
      /*	eldo3-supply = <&reg_eldo3>;*/
      	/*VCC-PD*/
      /*	dcdc1-supply = <&reg_dcdc1>;*/
      };
      
      /*----------------------------------------------------------------------------------
      ;lcd0 configuration
      
      ;lcd_if:               0:hv(sync+de); 1:8080; 2:ttl; 3:lvds; 4:dsi; 5:edp; 6:extend dsi
      ;lcd_hv_if             0:Parallel RGB; 8:Serial RGB; 10:Dummy RGB; 11: RGB Dummy;12:CCIR656
      ;lcd_hv_clk_phase      0:0 degree;1:90 degree;2:180 degree;3:270 degree
      ;lcd_hv_sync_polarity  0:vs low,hs low; 1:vs high,hslow; 2:vs low,hs high; 3:vs high,hs high
      ;lcd_hv_syuv_seq       0:YUYV; 1:YVYU; 2:UYVY; 3:VYUY
      ;lcd_cpu_if            0:18bit/1 cycle parallel(RGB666); 4:16bit/1cycle parallel (RGB565)
      ;                      6:18bit/3 cycle parallel(RGB666); 7:16bit/2cycle parallel (RGB565)
      ;lcd_cpu_te            0:frame auto trigger; 1:frame triggered by te rising edge; 2:frame triggered by te falling edge;
      ;lcd_dsi_if            0:video mode; 1: Command mode; 2:video burst mode
      ;lcd_dsi_te            0:frame auto trigger; 1:frame triggered by te rising edge; 2:frame triggered by te falling edge;
      ;lcd_x:                lcd horizontal resolution
      ;lcd_y:                lcd vertical resolution
      ;lcd_width:            width of lcd in mm
      ;lcd_height:           height of lcd in mm
      ;lcd_dclk_freq:        in MHZ unit
      ;lcd_pwm_freq:         in HZ unit
      ;lcd_pwm_pol:          lcd backlight PWM polarity
      ;lcd_pwm_max_limit     lcd backlight PWM max limit(<=255)
      ;lcd_hbp:              hsync back porch(pixel) + hsync plus width(pixel);
      ;lcd_ht:               hsync total cycle(pixel)
      ;lcd_vbp:              vsync back porch(line) + vysnc plus width(line)
      ;lcd_vt:               vysnc total cycle(line)
      ;lcd_hspw:             hsync plus width(pixel)
      ;lcd_vspw:             vysnc plus width(pixel)
      ;lcd_lvds_if:          0:single link;  1:dual link
      ;lcd_lvds_colordepth:  0:8bit; 1:6bit
      ;lcd_lvds_mode:        0:NS mode; 1:JEIDA mode
      ;lcd_frm:              0:disable; 1:enable rgb666 dither; 2:enable rgb656 dither
      ;lcd_io_phase:         0:noraml; 1:intert phase(0~3bit: vsync phase; 4~7bit:hsync phase;
      ;                      8~11bit:dclk phase; 12~15bit:de phase)
      ;lcd_gamma_en          lcd gamma correction enable
      ;lcd_bright_curve_en   lcd bright curve correction enable
      ;lcd_cmap_en           lcd color map function enable
      ;deu_mode              0:smoll lcd screen; 1:large lcd screen(larger than 10inch)
      ;lcdgamma4iep:         Smart Backlight parameter, lcd gamma vale * 10;
      ;                      decrease it while lcd is not bright enough; increase while lcd is too bright
      ;smart_color           90:normal lcd screen 65:retina lcd screen(9.7inch)
      ;Pin setting for special function ie.LVDS, RGB data or vsync
      ;   name(donot care) = port:PD12<pin function><pull up or pull down><drive ability><output level>
      ;Pin setting for gpio:
      ;   lcd_gpio_X     = port:PD12<pin function><pull up or pull down><drive ability><output level>
      ;Pin setting for backlight enable pin
      ;   lcd_bl_en     = port:PD12<pin function><pull up or pull down><drive ability><output level>
      ;fsync setting, pulse to csi
      ;lcd_fsync_en          (0:disable fsync,1:enable)
      ;lcd_fsync_act_time    (active time of fsync, unit:pixel)
      ;lcd_fsync_dis_time    (disactive time of fsync, unit:pixel)
      ;lcd_fsync_pol         (0:positive;1:negative)
      ;gpio config: <&pio for cpu or &r_pio for cpus, port, port num, pio function,
      pull up or pull down(default 0), driver level(default 1), data>
      ;For dual link lvds: use lvds2link_pins_a  and lvds2link_pins_b instead
      ;For rgb24: use rgb24_pins_a  and rgb24_pins_b instead
      ;For lvds1: use lvds1_pins_a  and lvds1_pins_b instead
      ;For lvds0: use lvds0_pins_a  and lvds0_pins_b instead
      ;----------------------------------------------------------------------------------*/
      &lcd0 {
      	lcd_used            = <1>;
      
      	lcd_driver_name     = "tft08006";
      	lcd_backlight       = <100>;
      	lcd_if              = <4>;
      
      	lcd_x               = <800>;
      	lcd_y               = <1280>;
      	lcd_width           = <52>;
      	lcd_height          = <52>;
      	lcd_dclk_freq       = <70>;
      
      	lcd_pwm_used        = <1>;
      	lcd_pwm_ch          = <2>;
      	lcd_pwm_freq        = <1000>;
      	lcd_pwm_pol         = <0>;
      	lcd_pwm_max_limit   = <255>;
      
      	lcd_hbp             = <32>;
      	lcd_ht              = <868>;
      	lcd_hspw            = <4>;
      	lcd_vbp             = <12>;
      	lcd_vt              = <1311>;
      	lcd_vspw            = <4>;
      
      	lcd_dsi_if          = <0>;
      	lcd_dsi_lane        = <4>;
      	lcd_lvds_if         = <0>;
      	lcd_lvds_colordepth = <0>;
      	lcd_lvds_mode       = <0>;
      	lcd_frm             = <0>;
      	lcd_hv_clk_phase    = <0>;
      	lcd_hv_sync_polarity= <0>;
      	lcd_io_phase        = <0x0000>;
      	lcd_gamma_en        = <0>;
      	lcd_bright_curve_en = <0>;
      	lcd_cmap_en         = <0>;
      	lcd_fsync_en        = <0>;
      	lcd_fsync_act_time  = <1000>;
      	lcd_fsync_dis_time  = <1000>;
      	lcd_fsync_pol       = <0>;
      
      	deu_mode            = <0>;
      	lcdgamma4iep        = <22>;
      	smart_color         = <90>;
      
      	lcd_gpio_0 =  <&pio PG 13 GPIO_ACTIVE_HIGH>;
      	pinctrl-0 = <&dsi4lane_pins_a>;
      	pinctrl-1 = <&dsi4lane_pins_b>;
      };
      
      &hdmi {
      	hdmi_used = <1>;
      	hdmi_power_cnt = <0>;
      	hdmi_cts_compatibility = <1>;
      	hdmi_hdcp_enable = <1>;
      	hdmi_hdcp22_enable = <0>;
      	hdmi_cec_support = <1>;
      	hdmi_cec_super_standby = <0>;
      
      	ddc_en_io_ctrl = <0>;
      	power_io_ctrl = <0>;
      };
      
      &pwm0 {
      	pinctrl-names = "active", "sleep";
      	pinctrl-0 = <&pwm0_pin_a>;
      	pinctrl-1 = <&pwm0_pin_b>;
      	status = "okay";
      };
      
      &pwm2 {
      	pinctrl-names = "active", "sleep";
      	pinctrl-0 = <&pwm2_pin_a>;
      	pinctrl-1 = <&pwm2_pin_b>;
      	status = "okay";
      };
      /*
      &pwm7 {
      	pinctrl-names = "active", "sleep";
      	pinctrl-0 = <&pwm7_pin_a>;
      	pinctrl-1 = <&pwm7_pin_b>;
      	status = "okay";
      };
      */
      
      &rtp {
      	allwinner,tp-sensitive-adjust = <0xf>;
      	allwinner,filter-type = <0x1>;
      	allwinner,ts-attached;
      	status = "disabled";
      };
      
      &gpadc {
      	channel_num = <2>;
      	channel_select = <3>;
      	channel_data_select = <3>;
      	channel_compare_select = <3>;
      	channel_cld_select = <3>;
      	channel_chd_select = <3>;
      	channel0_compare_lowdata = <1700000>;
      	channel0_compare_higdata = <1200000>;
      	channel1_compare_lowdata = <460000>;
      	channel1_compare_higdata = <1200000>;
      	status = "disabled";
      };
      
      &s_cir0 {
      	pinctrl-names = "default", "sleep";
      	pinctrl-0 = <&s_cir0_pins_a>;
      	pinctrl-1 = <&s_cir0_pins_b>;
      	status = "disabled";
      };
      
      &ir1 {
      	pinctrl-names = "default", "sleep";
      	pinctrl-0 = <&ir1_pins_a>;
      	pinctrl-1 = <&ir1_pins_b>;
      	status = "disabled";
      };
      

      开机log如下:

      ▒▒~▒[158]HELLO! BOOT0 is starting!
      [161]BOOT0 commit : 27369ab
      [163]set pll start
      [165]periph0 has been enabled
      [168]set pll end
      [170][pmu]: bus read error
      [172]board init ok
      [174]DRAM only have internal ZQ!!
      [177]get_pmu_exist() = -1
      [180]ddr_efuse_type: 0x0
      [183][AUTO DEBUG] single rank and full DQ!
      [187]ddr_efuse_type: 0x0
      [190][AUTO DEBUG] rank 0 row = 16
      [193][AUTO DEBUG] rank 0 bank = 8
      [196][AUTO DEBUG] rank 0 page size = 2 KB
      [200]DRAM BOOT DRIVE INFO: V0.24
      [203]DRAM CLK = 792 MHz
      [206]DRAM Type = 3 (2:DDR2,3:DDR3)
      [209]DRAMC ZQ value: 0x7b7bfb
      [212]DRAM ODT value: 0x42.
      [214]ddr_efuse_type: 0x0
      [217]DRAM SIZE =1024 M
      [221]DRAM simple test OK.
      [223]dram size =1024
      [225]card no is 0
      [227]sdcard 0 line count 4
      [229][mmc]: mmc driver ver 2021-04-2 16:45
      [239][mmc]: Wrong media type 0x0
      [242][mmc]: ***Try SD card 0***
      [261][mmc]: HSSDR52/SDR25 4 bit
      [264][mmc]: 50000000 Hz
      [266][mmc]: 30436 MB
      [268][mmc]: ***SD/MMC 0 init OK!!!***
      [318]Loading boot-pkg Succeed(index=0).
      [322]Entry_name        = opensbi
      [325]Entry_name        = u-boot
      [329]Entry_name        = dtb
      [331]mmc not para
      [333]Jump to second Boot.
      
      OpenSBI v0.6
         ____                    _____ ____ _____
        / __ \                  / ____|  _ \_   _|
       | |  | |_ __   ___ _ __ | (___ | |_) || |
       | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
       | |__| | |_) |  __/ | | |____) | |_) || |_
        \____/| .__/ \___|_| |_|_____/|____/_____|
              | |
              |_|
      
      Platform Name          : T-HEAD Xuantie Platform
      Platform HART Features : RV64ACDFIMSUVX
      Platform Max HARTs     : 1
      Current Hart           : 0
      Firmware Base          : 0x40000400
      Firmware Size          : 75 KB
      Runtime SBI Version    : 0.2
      
      MIDELEG : 0x0000000000000222
      MEDELEG : 0x000000000000b1ff
      PMP0    : 0x0000000040000000-0x000000004001ffff (A)
      PMP1    : 0x0000000040000000-0x000000007fffffff (A,R,W,X)
      PMP2    : 0x0000000080000000-0x00000000bfffffff (A,R,W,X)
      PMP3    : 0x0000000000020000-0x0000000000027fff (A,▒[00.410][mmc]: mmc driver ver uboot2018:2021-04-16 14:23:00-1
      [00.415][mmc]: get sdc_type fail and use default host:tm1.
      [00.421][mmc]: can't find node "mmc0",will add new node
      [00.426][mmc]: fdt err returned <no error>
      [00.430][mmc]: Using default timing para
      [00.434][mmc]: SUNXI SDMMC Controller Version:0x50310
      [00.460][mmc]: card_caps:0x3000000a
      [00.463][mmc]: host_caps:0x3000003f
      [00.481]set disp.dev2_output_type fail. using defval=0
      [00.513]Get bootloader and boot-resource partition number fail!
      [00.557]out of usb burn from boot: not need burn key
      [02.481]
      Starting kernel ...
      
      [02.484][mmc]: MMC Device 2 not found
      [02.488][mmc]: mmc 2 not find, so not exit
      [    0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x40200000
      [    0.000000] Linux version 5.4.61 (andy@ubuntu) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #66 Sun May 8 07:00:42 PDT 2022
      [    0.000000] cma: Reserved 8 MiB at 0x000000007f800000
      [    0.000000] Zone ranges:
      [    0.000000]   DMA32    [mem 0x0000000040200000-0x000000007fffffff]
      [    0.000000]   Normal   empty
      [    0.000000] Movable zone start for each node
      [    0.000000] Early memory node ranges
      [    0.000000]   node   0: [mem 0x0000000040200000-0x000000007fffffff]
      [    0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x000000007fffffff]
      [    0.000000] On node 0 totalpages: 261632
      [    0.000000]   DMA32 zone: 3577 pages used for memmap
      [    0.000000]   DMA32 zone: 0 pages reserved
      [    0.000000]   DMA32 zone: 261632 pages, LIFO batch:63
      [    0.000000] elf_hwcap is 0x20112d
      [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
      [    0.000000] pcpu-alloc: [0] 0
      [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258055
      [    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4  init=/sbin/init partitions=ext4 cma=8M  gpt=1 androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05(07/06/2021-07:40:44) mbr_offset=1556480 disp_reserve=4096000,0x000000007eb1b280 androidboot.dramsize=1024
      [    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
      [    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
      [    0.000000] Sorting __ex_table...
      [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
      [    0.000000] Memory: 1006860K/1046528K available (6726K kernel code, 707K rwdata, 2230K rodata, 196K init, 411K bss, 31476K reserved, 8192K cma-reserved)
      [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
      [    0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0
      [    0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts.
      [    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
      [    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
      [    0.000007] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [    0.000022] riscv_timer_clockevent depends on broadcast, but no broadcast function available
      [    0.000357] Console: colour dummy device 80x25
      [    0.000392] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
      [    0.000406] pid_max: default: 32768 minimum: 301
      [    0.000537] LSM: Security Framework initializing
      [    0.000583] SELinux:  Initializing.
      [    0.000749] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
      [    0.000770] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
      [    0.002425] ASID allocator initialised with 65536 entries
      [    0.003158] devtmpfs: initialized
      [    0.015452] random: get_random_u32 called from bucket_table_alloc.isra.31+0x4e/0x15e with crng_init=0
      [    0.016385] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
      [    0.016408] futex hash table entries: 256 (order: 0, 6144 bytes, linear)
      [    0.016787] pinctrl core: initialized pinctrl subsystem
      [    0.018062] NET: Registered protocol family 16
      [    0.019645] DMA: preallocated 256 KiB pool for atomic allocations
      [    0.019681] audit: initializing netlink subsys (disabled)
      [    0.067112] rtc_ccu: sunxi ccu init OK
      [    0.075287] clock: sunxi ccu init OK
      [    0.076095] clock: sunxi ccu init OK
      [    0.085526] audit: type=2000 audit(0.016:1): state=initialized audit_enabled=0 res=1
      [    0.103968] reg-fixed-voltage pio-18: GPIO lookup for consumer (null)
      [    0.103983] reg-fixed-voltage pio-18: using device tree for GPIO lookup
      [    0.104007] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/pio-18[0]'
      [    0.104026] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/pio-18[0]'
      [    0.104042] reg-fixed-voltage pio-18: using lookup tables for GPIO lookup
      [    0.104054] reg-fixed-voltage pio-18: No GPIO consumer (null) found
      [    0.104460] reg-fixed-voltage pio-33: GPIO lookup for consumer (null)
      [    0.104475] reg-fixed-voltage pio-33: using device tree for GPIO lookup
      [    0.104499] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/pio-33[0]'
      [    0.104517] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/pio-33[0]'
      [    0.104533] reg-fixed-voltage pio-33: using lookup tables for GPIO lookup
      [    0.104545] reg-fixed-voltage pio-33: No GPIO consumer (null) found
      [    0.105244] reg-fixed-voltage usb1-vbus: GPIO lookup for consumer (null)
      [    0.105260] reg-fixed-voltage usb1-vbus: using device tree for GPIO lookup
      [    0.105285] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/usb1-vbus[0]'
      [    0.105315] reg-fixed-voltage usb1-vbus: No GPIO consumer (null) found
      [    0.105435] iommu: Default domain type: Translated
      [    0.105595] sunxi iommu: irq = 80
      [    0.106651] SCSI subsystem initialized
      [    0.106964] usbcore: registered new interface driver usbfs
      [    0.107036] usbcore: registered new interface driver hub
      [    0.107112] usbcore: registered new device driver usb
      [    0.108154] Advanced Linux Sound Architecture Driver Initialized.
      [    0.108826] Bluetooth: Core ver 2.22
      [    0.108903] NET: Registered protocol family 31
      [    0.108911] Bluetooth: HCI device and connection manager initialized
      [    0.108930] Bluetooth: HCI socket layer initialized
      [    0.108945] Bluetooth: L2CAP socket layer initialized
      [    0.108980] Bluetooth: SCO socket layer initialized
      [    0.109022] nfc: nfc_init: NFC Core ver 0.1
      [    0.109117] NET: Registered protocol family 39
      [    0.109126] pwm module init!
      [    0.110680] input: sunxi-keyboard as /devices/virtual/input/input0
      [    0.111960] clocksource: Switched to clocksource riscv_clocksource
      [    0.114740] gpio gpiochip0: (2000000.pinctrl): added GPIO chardev (254:0)
      [    0.114874] gpiochip_setup_dev: registered GPIOs 0 to 223 on device: gpiochip0 (2000000.pinctrl)
      [    0.114898] gpio gpiochip0: (2000000.pinctrl): created GPIO range 32->32 ==> 2000000.pinctrl PIN 32->32
      [    0.114915] gpio gpiochip0: (2000000.pinctrl): created GPIO range 33->33 ==> 2000000.pinctrl PIN 33->33
      [    0.114940] gpio gpiochip0: (2000000.pinctrl): created GPIO range 34->34 ==> 2000000.pinctrl PIN 34->34
      [    0.114956] gpio gpiochip0: (2000000.pinctrl): created GPIO range 35->35 ==> 2000000.pinctrl PIN 35->35
      [    0.114973] gpio gpiochip0: (2000000.pinctrl): created GPIO range 36->36 ==> 2000000.pinctrl PIN 36->36
      [    0.114989] gpio gpiochip0: (2000000.pinctrl): created GPIO range 37->37 ==> 2000000.pinctrl PIN 37->37
      [    0.115005] gpio gpiochip0: (2000000.pinctrl): created GPIO range 38->38 ==> 2000000.pinctrl PIN 38->38
      [    0.115022] gpio gpiochip0: (2000000.pinctrl): created GPIO range 39->39 ==> 2000000.pinctrl PIN 39->39
      [    0.115038] gpio gpiochip0: (2000000.pinctrl): created GPIO range 40->40 ==> 2000000.pinctrl PIN 40->40
      [    0.115054] gpio gpiochip0: (2000000.pinctrl): created GPIO range 41->41 ==> 2000000.pinctrl PIN 41->41
      [    0.115071] gpio gpiochip0: (2000000.pinctrl): created GPIO range 42->42 ==> 2000000.pinctrl PIN 42->42
      [    0.115086] gpio gpiochip0: (2000000.pinctrl): created GPIO range 43->43 ==> 2000000.pinctrl PIN 43->43
      [    0.115103] gpio gpiochip0: (2000000.pinctrl): created GPIO range 44->44 ==> 2000000.pinctrl PIN 44->44
      [    0.115119] gpio gpiochip0: (2000000.pinctrl): created GPIO range 64->64 ==> 2000000.pinctrl PIN 64->64
      [    0.115135] gpio gpiochip0: (2000000.pinctrl): created GPIO range 65->65 ==> 2000000.pinctrl PIN 65->65
      [    0.115152] gpio gpiochip0: (2000000.pinctrl): created GPIO range 66->66 ==> 2000000.pinctrl PIN 66->66
      [    0.115168] gpio gpiochip0: (2000000.pinctrl): created GPIO range 67->67 ==> 2000000.pinctrl PIN 67->67
      [    0.115184] gpio gpiochip0: (2000000.pinctrl): created GPIO range 68->68 ==> 2000000.pinctrl PIN 68->68
      [    0.115200] gpio gpiochip0: (2000000.pinctrl): created GPIO range 69->69 ==> 2000000.pinctrl PIN 69->69
      [    0.115216] gpio gpiochip0: (2000000.pinctrl): created GPIO range 70->70 ==> 2000000.pinctrl PIN 70->70
      [    0.115233] gpio gpiochip0: (2000000.pinctrl): created GPIO range 71->71 ==> 2000000.pinctrl PIN 71->71
      [    0.115249] gpio gpiochip0: (2000000.pinctrl): created GPIO range 96->96 ==> 2000000.pinctrl PIN 96->96
      [    0.115265] gpio gpiochip0: (2000000.pinctrl): created GPIO range 97->97 ==> 2000000.pinctrl PIN 97->97
      [    0.115281] gpio gpiochip0: (2000000.pinctrl): created GPIO range 98->98 ==> 2000000.pinctrl PIN 98->98
      [    0.115297] gpio gpiochip0: (2000000.pinctrl): created GPIO range 99->99 ==> 2000000.pinctrl PIN 99->99
      [    0.115314] gpio gpiochip0: (2000000.pinctrl): created GPIO range 100->100 ==> 2000000.pinctrl PIN 100->100
      [    0.115330] gpio gpiochip0: (2000000.pinctrl): created GPIO range 101->101 ==> 2000000.pinctrl PIN 101->101
      [    0.115346] gpio gpiochip0: (2000000.pinctrl): created GPIO range 102->102 ==> 2000000.pinctrl PIN 102->102
      [    0.115362] gpio gpiochip0: (2000000.pinctrl): created GPIO range 103->103 ==> 2000000.pinctrl PIN 103->103
      [    0.115379] gpio gpiochip0: (2000000.pinctrl): created GPIO range 104->104 ==> 2000000.pinctrl PIN 104->104
      [    0.115395] gpio gpiochip0: (2000000.pinctrl): created GPIO range 105->105 ==> 2000000.pinctrl PIN 105->105
      [    0.115412] gpio gpiochip0: (2000000.pinctrl): created GPIO range 106->106 ==> 2000000.pinctrl PIN 106->106
      [    0.115429] gpio gpiochip0: (2000000.pinctrl): created GPIO range 107->107 ==> 2000000.pinctrl PIN 107->107
      [    0.115445] gpio gpiochip0: (2000000.pinctrl): created GPIO range 108->108 ==> 2000000.pinctrl PIN 108->108
      [    0.115468] gpio gpiochip0: (2000000.pinctrl): created GPIO range 109->109 ==> 2000000.pinctrl PIN 109->109
      [    0.115485] gpio gpiochip0: (2000000.pinctrl): created GPIO range 110->110 ==> 2000000.pinctrl PIN 110->110
      [    0.115501] gpio gpiochip0: (2000000.pinctrl): created GPIO range 111->111 ==> 2000000.pinctrl PIN 111->111
      [    0.115518] gpio gpiochip0: (2000000.pinctrl): created GPIO range 112->112 ==> 2000000.pinctrl PIN 112->112
      [    0.115535] gpio gpiochip0: (2000000.pinctrl): created GPIO range 113->113 ==> 2000000.pinctrl PIN 113->113
      [    0.115551] gpio gpiochip0: (2000000.pinctrl): created GPIO range 114->114 ==> 2000000.pinctrl PIN 114->114
      [    0.115568] gpio gpiochip0: (2000000.pinctrl): created GPIO range 115->115 ==> 2000000.pinctrl PIN 115->115
      [    0.115584] gpio gpiochip0: (2000000.pinctrl): created GPIO range 116->116 ==> 2000000.pinctrl PIN 116->116
      [    0.115601] gpio gpiochip0: (2000000.pinctrl): created GPIO range 117->117 ==> 2000000.pinctrl PIN 117->117
      [    0.115617] gpio gpiochip0: (2000000.pinctrl): created GPIO range 118->118 ==> 2000000.pinctrl PIN 118->118
      [    0.115634] gpio gpiochip0: (2000000.pinctrl): created GPIO range 128->128 ==> 2000000.pinctrl PIN 128->128
      [    0.115651] gpio gpiochip0: (2000000.pinctrl): created GPIO range 129->129 ==> 2000000.pinctrl PIN 129->129
      [    0.115668] gpio gpiochip0: (2000000.pinctrl): created GPIO range 130->130 ==> 2000000.pinctrl PIN 130->130
      [    0.115684] gpio gpiochip0: (2000000.pinctrl): created GPIO range 131->131 ==> 2000000.pinctrl PIN 131->131
      [    0.115701] gpio gpiochip0: (2000000.pinctrl): created GPIO range 132->132 ==> 2000000.pinctrl PIN 132->132
      [    0.115717] gpio gpiochip0: (2000000.pinctrl): created GPIO range 133->133 ==> 2000000.pinctrl PIN 133->133
      [    0.115735] gpio gpiochip0: (2000000.pinctrl): created GPIO range 134->134 ==> 2000000.pinctrl PIN 134->134
      [    0.115751] gpio gpiochip0: (2000000.pinctrl): created GPIO range 135->135 ==> 2000000.pinctrl PIN 135->135
      [    0.115768] gpio gpiochip0: (2000000.pinctrl): created GPIO range 136->136 ==> 2000000.pinctrl PIN 136->136
      [    0.115785] gpio gpiochip0: (2000000.pinctrl): created GPIO range 137->137 ==> 2000000.pinctrl PIN 137->137
      [    0.115802] gpio gpiochip0: (2000000.pinctrl): created GPIO range 138->138 ==> 2000000.pinctrl PIN 138->138
      [    0.115819] gpio gpiochip0: (2000000.pinctrl): created GPIO range 139->139 ==> 2000000.pinctrl PIN 139->139
      [    0.115836] gpio gpiochip0: (2000000.pinctrl): created GPIO range 140->140 ==> 2000000.pinctrl PIN 140->140
      [    0.115853] gpio gpiochip0: (2000000.pinctrl): created GPIO range 141->141 ==> 2000000.pinctrl PIN 141->141
      [    0.115870] gpio gpiochip0: (2000000.pinctrl): created GPIO range 142->142 ==> 2000000.pinctrl PIN 142->142
      [    0.115886] gpio gpiochip0: (2000000.pinctrl): created GPIO range 143->143 ==> 2000000.pinctrl PIN 143->143
      [    0.115904] gpio gpiochip0: (2000000.pinctrl): created GPIO range 144->144 ==> 2000000.pinctrl PIN 144->144
      [    0.115920] gpio gpiochip0: (2000000.pinctrl): created GPIO range 145->145 ==> 2000000.pinctrl PIN 145->145
      [    0.115937] gpio gpiochip0: (2000000.pinctrl): created GPIO range 160->160 ==> 2000000.pinctrl PIN 160->160
      [    0.115954] gpio gpiochip0: (2000000.pinctrl): created GPIO range 161->161 ==> 2000000.pinctrl PIN 161->161
      [    0.115971] gpio gpiochip0: (2000000.pinctrl): created GPIO range 162->162 ==> 2000000.pinctrl PIN 162->162
      [    0.115987] gpio gpiochip0: (2000000.pinctrl): created GPIO range 163->163 ==> 2000000.pinctrl PIN 163->163
      [    0.116009] gpio gpiochip0: (2000000.pinctrl): created GPIO range 164->164 ==> 2000000.pinctrl PIN 164->164
      [    0.116026] gpio gpiochip0: (2000000.pinctrl): created GPIO range 165->165 ==> 2000000.pinctrl PIN 165->165
      [    0.116043] gpio gpiochip0: (2000000.pinctrl): created GPIO range 166->166 ==> 2000000.pinctrl PIN 166->166
      [    0.116059] gpio gpiochip0: (2000000.pinctrl): created GPIO range 192->192 ==> 2000000.pinctrl PIN 192->192
      [    0.116076] gpio gpiochip0: (2000000.pinctrl): created GPIO range 193->193 ==> 2000000.pinctrl PIN 193->193
      [    0.116093] gpio gpiochip0: (2000000.pinctrl): created GPIO range 194->194 ==> 2000000.pinctrl PIN 194->194
      [    0.116109] gpio gpiochip0: (2000000.pinctrl): created GPIO range 195->195 ==> 2000000.pinctrl PIN 195->195
      [    0.116126] gpio gpiochip0: (2000000.pinctrl): created GPIO range 196->196 ==> 2000000.pinctrl PIN 196->196
      [    0.116143] gpio gpiochip0: (2000000.pinctrl): created GPIO range 197->197 ==> 2000000.pinctrl PIN 197->197
      [    0.116159] gpio gpiochip0: (2000000.pinctrl): created GPIO range 198->198 ==> 2000000.pinctrl PIN 198->198
      [    0.116176] gpio gpiochip0: (2000000.pinctrl): created GPIO range 199->199 ==> 2000000.pinctrl PIN 199->199
      [    0.116193] gpio gpiochip0: (2000000.pinctrl): created GPIO range 200->200 ==> 2000000.pinctrl PIN 200->200
      [    0.116210] gpio gpiochip0: (2000000.pinctrl): created GPIO range 201->201 ==> 2000000.pinctrl PIN 201->201
      [    0.116226] gpio gpiochip0: (2000000.pinctrl): created GPIO range 202->202 ==> 2000000.pinctrl PIN 202->202
      [    0.116243] gpio gpiochip0: (2000000.pinctrl): created GPIO range 203->203 ==> 2000000.pinctrl PIN 203->203
      [    0.116260] gpio gpiochip0: (2000000.pinctrl): created GPIO range 204->204 ==> 2000000.pinctrl PIN 204->204
      [    0.116277] gpio gpiochip0: (2000000.pinctrl): created GPIO range 205->205 ==> 2000000.pinctrl PIN 205->205
      [    0.116293] gpio gpiochip0: (2000000.pinctrl): created GPIO range 206->206 ==> 2000000.pinctrl PIN 206->206
      [    0.116310] gpio gpiochip0: (2000000.pinctrl): created GPIO range 207->207 ==> 2000000.pinctrl PIN 207->207
      [    0.116327] gpio gpiochip0: (2000000.pinctrl): created GPIO range 208->208 ==> 2000000.pinctrl PIN 208->208
      [    0.116344] gpio gpiochip0: (2000000.pinctrl): created GPIO range 209->209 ==> 2000000.pinctrl PIN 209->209
      [    0.116360] gpio gpiochip0: (2000000.pinctrl): created GPIO range 210->210 ==> 2000000.pinctrl PIN 210->210
      [    0.125967] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
      [    0.142897] thermal_sys: Registered thermal governor 'step_wise'
      [    0.143381] NET: Registered protocol family 2
      [    0.144226] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
      [    0.144284] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
      [    0.144386] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
      [    0.144467] TCP: Hash tables configured (established 8192 bind 8192)
      [    0.144640] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
      [    0.144696] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
      [    0.144955] NET: Registered protocol family 1
      [    0.145578] RPC: Registered named UNIX socket transport module.
      [    0.145589] RPC: Registered udp transport module.
      [    0.145595] RPC: Registered tcp transport module.
      [    0.145600] RPC: Registered tcp NFSv4.1 backchannel transport module.
      [    0.146798] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator
      [    0.147331] spi spi1: spi1 supply spi not found, using dummy regulator
      [    0.147551] sunxi_spi_resource_get()2062 - [spi1] SPI MASTER MODE
      [    0.147643] sunxi_spi_clk_init()2138 - [spi1] mclk 100000000
      [    0.148386] sunxi_spi_probe()2542 - [spi1]: driver probe succeed, base ffffffd004058000, irq 32
      [    0.150177] Initialise system trusted keyrings
      [    0.150443] workingset: timestamp_bits=62 max_order=18 bucket_order=0
      [    0.164338] NFS: Registering the id_resolver key type
      [    0.164378] Key type id_resolver registered
      [    0.164385] Key type id_legacy registered
      [    0.164402] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
      [    0.186662] NET: Registered protocol family 38
      [    0.186683] Key type asymmetric registered
      [    0.186690] Asymmetric key parser 'x509' registered
      [    0.186765] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
      [    0.186775] io scheduler mq-deadline registered
      [    0.186781] io scheduler kyber registered
      [    0.188339] [DISP]disp_module_init
      [    0.188964] disp 5000000.disp: Adding to iommu group 0
      [    0.189594] [DISP] disp_init,line:2385:
      [    0.189600] smooth display screen:0 type:1 mode:4
      [    0.190311] of_get_named_gpiod_flags: can't parse 'lcd_bl_en' property of node '/soc@3000000/lcd0@1c0c000[0]'
      [    0.191483] of_get_named_gpiod_flags: parsed 'lcd_gpio_0' property of node '/soc@3000000/lcd0@1c0c000[0]' - status (0)
      [    0.191705] of_get_named_gpiod_flags: can't parse 'lcd_gpio_1' property of node '/soc@3000000/lcd0@1c0c000[0]'
      [    0.191917] of_get_named_gpiod_flags: can't parse 'lcd_gpio_2' property of node '/soc@3000000/lcd0@1c0c000[0]'
      [    0.192176] of_get_named_gpiod_flags: can't parse 'lcd_gpio_3' property of node '/soc@3000000/lcd0@1c0c000[0]'
      [    0.192393] of_get_named_gpiod_flags: can't parse 'lcd_gpio_4' property of node '/soc@3000000/lcd0@1c0c000[0]'
      [    0.192611] of_get_named_gpiod_flags: can't parse 'lcd_gpio_5' property of node '/soc@3000000/lcd0@1c0c000[0]'
      [    0.192822] of_get_named_gpiod_flags: can't parse 'lcd_gpio_scl' property of node '/soc@3000000/lcd0@1c0c000[0]'
      [    0.193039] of_get_named_gpiod_flags: can't parse 'lcd_gpio_sda' property of node '/soc@3000000/lcd0@1c0c000[0]'
      [    0.224483] display_fb_request,fb_id:0
      [    0.262611] [DISP]disp_module_init finish
      [    0.264161] sunxi_sid_init()506 - insmod ok
      [    0.264641] pwm-regulator vdd-cpu: GPIO lookup for consumer enable
      [    0.264654] pwm-regulator vdd-cpu: using device tree for GPIO lookup
      [    0.264682] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/vdd-cpu[0]'
      [    0.264701] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/vdd-cpu[0]'
      [    0.264717] pwm-regulator vdd-cpu: using lookup tables for GPIO lookup
      [    0.264729] pwm-regulator vdd-cpu: No GPIO consumer enable found
      [    0.264765] pwm-regulator: supplied by regulator-dummy
      [    0.265989] disp_al_manager_apply ouput_type:1
      [    0.266198] [DISP] lcd_clk_config,line:731:
      [    0.266211] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000)
      [    0.266211]      clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000)
      [    0.365870] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
      [    0.366253] uart uart0: get regulator failed
      [    0.366279] uart uart0: uart0 supply uart not found, using dummy regulator
      [    0.366647] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI
      [    0.366670] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
      [    2.402197] printk: console [ttyS0] enabled
      [    2.407763] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
      [    2.419190] uart uart1: get regulator failed
      [    2.424020] uart uart1: uart1 supply uart not found, using dummy regulator
      [    2.432081] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI
      [    2.441700] uart uart2: get regulator failed
      [    2.446528] uart uart2: uart2 supply uart not found, using dummy regulator
      [    2.454585] uart2: ttyS2 at MMIO 0x2500800 (irq = 20, base_baud = 1500000) is a SUNXI
      [    2.464188] uart uart3: get regulator failed
      [    2.469013] uart uart3: uart3 supply uart not found, using dummy regulator
      [    2.477063] uart3: ttyS3 at MMIO 0x2500c00 (irq = 21, base_baud = 1500000) is a SUNXI
      [    2.486620] uart uart4: get regulator failed
      [    2.491450] uart uart4: uart4 supply uart not found, using dummy regulator
      [    2.499474] uart4: ttyS4 at MMIO 0x2501000 (irq = 22, base_baud = 1500000) is a SUNXI
      [    2.509073] uart uart5: get regulator failed
      [    2.513910] uart uart5: uart5 supply uart not found, using dummy regulator
      [    2.521952] uart5: ttyS5 at MMIO 0x2501400 (irq = 23, base_baud = 1500000) is a SUNXI
      [    2.531846] misc dump reg init
      [    2.548800] loop: module loaded
      [    2.553449] mdio_bus fixed-0: GPIO lookup for consumer reset
      [    2.559819] mdio_bus fixed-0: using lookup tables for GPIO lookup
      [    2.566660] mdio_bus fixed-0: No GPIO consumer reset found
      [    2.572836] libphy: Fixed MDIO Bus: probed
      [    2.577440] CAN device driver interface
      [    2.582810] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
      [    2.594151] sunxi gmac driver's version: 1.0.0
      [    2.599288] gmac-power0: NULL
      [    2.602647] gmac-power1: NULL
      [    2.605984] gmac-power2: NULL
      [    2.609359] of_get_named_gpiod_flags: parsed 'phy-rst' property of node '/soc@3000000/eth@4500000[0]' - status (0)
      [    2.621926] PPP generic driver version 2.4.2
      [    2.627028] PPP BSD Compression module registered
      [    2.632329] PPP Deflate Compression module registered
      [    2.638006] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    2.645322] sunxi-ehci: EHCI SUNXI driver
      [    2.650375] get ehci1-controller wakeup-source is fail.
      [    2.656353] sunxi ehci1-controller don't init wakeup source
      [    2.662618] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0009f4b40, 0x:ffffffd004079000, irq_no:31
      [    2.676207] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
      [    2.688765] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
      [    2.696051] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
      [    2.705917] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
      [    2.727979] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
      [    2.735798] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
      [    2.745429] hub 1-0:1.0: USB hub found
      [    2.749709] hub 1-0:1.0: 1 port detected
      [    2.754926] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    2.761907] sunxi-ohci: OHCI SUNXI driver
      [    2.766932] get ohci1-controller wakeup-source is fail.
      [    2.772917] sunxi ohci1-controller don't init wakeup source
      [    2.779184] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0009f5680
      [    2.789664] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
      [    2.802211] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
      [    2.809495] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
      [    2.819334] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
      [    2.888961] hub 2-0:1.0: USB hub found
      [    2.893244] hub 2-0:1.0: 1 port detected
      [    2.898696] usbcore: registered new interface driver uas
      [    2.904810] usbcore: registered new interface driver usb-storage
      [    2.911629] usbcore: registered new interface driver ums-alauda
      [    2.918360] usbcore: registered new interface driver ums-cypress
      [    2.925183] usbcore: registered new interface driver ums-datafab
      [    2.932019] usbcore: registered new interface driver ums_eneub6250
      [    2.939028] usbcore: registered new interface driver ums-freecom
      [    2.945863] usbcore: registered new interface driver ums-isd200
      [    2.952601] usbcore: registered new interface driver ums-jumpshot
      [    2.959511] usbcore: registered new interface driver ums-karma
      [    2.966186] usbcore: registered new interface driver ums-onetouch
      [    2.973128] usbcore: registered new interface driver ums-realtek
      [    2.979950] usbcore: registered new interface driver ums-sddr09
      [    2.986693] usbcore: registered new interface driver ums-sddr55
      [    2.993417] usbcore: registered new interface driver ums-usbat
      [    3.000070] sunxi_gpadc_init,1968, success
      [    3.005388] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1
      [    3.017859] sunxi-rtc 7090000.rtc: registered as rtc0
      [    3.023642] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:05 UTC (5)
      [    3.032548] sunxi-rtc 7090000.rtc: sunxi rtc probed
      [    3.038401] i2c /dev entries driver
      [    3.042415] IR NEC protocol handler initialized
      [    3.047520] IR RC5(x/sz) protocol handler initialized
      [    3.054944] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
      [    3.066957] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
      [    3.078244] sunxi-mmc 4022000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50)
      [    3.088242] sunxi-mmc 4022000.sdmmc: ***ctl-spec-caps*** 308
      [    3.094655] sunxi-mmc 4022000.sdmmc: No vmmc regulator found
      [    3.101003] sunxi-mmc 4022000.sdmmc: No vqmmc regulator found
      [    3.107448] sunxi-mmc 4022000.sdmmc: No vdmmc regulator found
      [    3.113892] sunxi-mmc 4022000.sdmmc: No vd33sw regulator found
      [    3.120439] sunxi-mmc 4022000.sdmmc: No vd18sw regulator found
      [    3.126982] sunxi-mmc 4022000.sdmmc: No vq33sw regulator found
      [    3.133532] sunxi-mmc 4022000.sdmmc: No vq18sw regulator found
      [    3.140109] of_get_named_gpiod_flags: can't parse 'card-pwr-gpios' property of node '/soc@3000000/sdmmc@4022000[0]'
      [    3.151836] sunxi-mmc 4022000.sdmmc: Cann't get pin bias hs pinstate,check if needed
      [    3.160927] sunxi-mmc 4022000.sdmmc: GPIO lookup for consumer wp
      [    3.167683] sunxi-mmc 4022000.sdmmc: using device tree for GPIO lookup
      [    3.175030] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/soc@3000000/sdmmc@4022000[0]'
      [    3.186168] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/soc@3000000/sdmmc@4022000[0]'
      [    3.197196] sunxi-mmc 4022000.sdmmc: using lookup tables for GPIO lookup
      [    3.204722] sunxi-mmc 4022000.sdmmc: No GPIO consumer wp found
      [    3.211759] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.222943] usb 1-1: new high-speed USB device number 2 using sunxi-ehci
      [    3.243989] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.267991] sunxi-mmc 4022000.sdmmc: detmode:alway in(non removable)
      [    3.276832] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50)
      [    3.286845] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
      [    3.293055] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
      [    3.299419] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
      [    3.305873] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
      [    3.312329] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
      [    3.318877] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
      [    3.325426] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
      [    3.331987] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
      [    3.338552] of_get_named_gpiod_flags: can't parse 'card-pwr-gpios' property of node '/soc@3000000/sdmmc@4020000[0]'
      [    3.350387] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.362445] sunxi-mmc 4020000.sdmmc: GPIO lookup for consumer cd
      [    3.369211] sunxi-mmc 4020000.sdmmc: using device tree for GPIO lookup
      [    3.376579] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/soc@3000000/sdmmc@4020000[0]' - status (0)
      [    3.388529] gpio gpiochip0: Persistence not supported for GPIO 166
      [    3.395498] sunxi-mmc 4020000.sdmmc: Got CD GPIO
      [    3.400706] sunxi-mmc 4020000.sdmmc: GPIO lookup for consumer wp
      [    3.407452] sunxi-mmc 4020000.sdmmc: using device tree for GPIO lookup
      [    3.414792] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/soc@3000000/sdmmc@4020000[0]'
      [    3.425940] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/soc@3000000/sdmmc@4020000[0]'
      [    3.436959] sunxi-mmc 4020000.sdmmc: using lookup tables for GPIO lookup
      [    3.444483] sunxi-mmc 4020000.sdmmc: No GPIO consumer wp found
      [    3.451581] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
      [    3.458317] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.469538] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
      [    3.477193] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.488908] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.500662] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.512733] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
      [    3.519429] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    3.531709] hub 1-1:1.0: USB hub found
      [    3.536167] hub 1-1:1.0: 4 ports detected
      [    3.550177] usbcore: registered new interface driver usbhid
      [    3.556468] usbhid: USB HID core driver
      [    3.565281] sunxi-daudio 2034000.daudio: regulator missing or invalid
      [    3.573516] [AUDIOCODEC][sunxi_codec_parse_params][2094]:digital_vol:0, lineout_vol:26, mic1gain:19, mic2gain:19 pa_msleep:120, pa_level:1, pa_pwr_level:1
      [    3.573516]
      [    3.590715] [AUDIOCODEC][sunxi_codec_parse_params][2130]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
      [    3.601691] of_get_named_gpiod_flags: can't parse 'gpio-spk' property of node '/soc@3000000/codec@2030000[0]'
      [    3.612831] of_get_named_gpiod_flags: can't parse 'gpio-spk-pwr' property of node '/soc@3000000/codec@2030000[0]'
      [    3.624663] [AUDIOCODEC][sunxi_internal_codec_probe][2266]:codec probe finished
      [    3.634074] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
      [    3.643922] [SNDCODEC][sunxi_card_init][583]:card init finished
      [    3.653019] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
      [    3.664237] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.675957] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.688086] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input1
      [    3.699944] [SNDCODEC][sunxi_card_dev_probe][832]:register card finished
      [    3.708942] NET: Registered protocol family 10
      [    3.715317] Segment Routing with IPv6
      [    3.719537] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
      [    3.726993] NET: Registered protocol family 17
      [    3.732037] NET: Registered protocol family 15
      [    3.737028] can: controller area network core (rev 20170425 abi 9)
      [    3.744066] NET: Registered protocol family 29
      [    3.749061] can: raw protocol (rev 20170425)
      [    3.753846] can: broadcast manager protocol (rev 20170425 t)
      [    3.760215] can: netlink gateway (rev 20190810) max_hops=1
      [    3.766816] Bluetooth: RFCOMM TTY layer initialized
      [    3.772330] Bluetooth: RFCOMM socket layer initialized
      [    3.778142] Bluetooth: RFCOMM ver 1.11
      [    3.782378] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
      [    3.788350] Bluetooth: BNEP filters: protocol multicast
      [    3.794229] Bluetooth: BNEP socket layer initialized
      [    3.799805] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
      [    3.806456] Bluetooth: HIDP socket layer initialized
      [    3.812111] Key type dns_resolver registered
      [    3.817525] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.829565] Loading compiled-in X.509 certificates
      [    3.837508] HDMI 2.0 driver init start!
      [    3.841853] boot_hdmi=false
      [    3.845061] ERROR: pinctrl_get for HDMI2.0 DDC fail
      [    3.852049] HDMI2.0 module init end
      [    3.879357] twi twi0: twi0 supply twi not found, using dummy regulator
      [    3.887568] sunxi_i2c_probe()2262 - [i2c0] probe success
      [    3.893951] twi twi2: twi2 supply twi not found, using dummy regulator
      [    3.908467] sunxi_i2c_probe()2262 - [i2c2] probe success
      [    3.914942] twi twi3: twi3 supply twi not found, using dummy regulator
      [    3.923027] sunxi_i2c_probe()2262 - [i2c3] probe success
      [    3.931463] reg-fixed-voltage usb1-vbus: GPIO lookup for consumer (null)
      [    3.939024] reg-fixed-voltage usb1-vbus: using device tree for GPIO lookup
      [    3.946739] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/usb1-vbus[0]'
      [    3.956045] of_get_named_gpiod_flags: parsed 'gpio' property of node '/usb1-vbus[0]' - status (0)
      [    3.966042] gpio gpiochip0: Persistence not supported for GPIO 115
      [    3.975339] usb 1-1.4: new full-speed USB device number 3 using sunxi-ehci
      [    3.989151] debugfs: Directory '2034000.daudio' with parent 'sndhdmi' already present!
      [    3.999248] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    4.011696] sunxi-audio-card 20340a0.sounddaudio2: 20340a4.hdmiaudio <-> 2034000.daudio mapping ok
      [    4.023390] get ehci0-controller wakeup-source is fail.
      [    4.029367] sunxi ehci0-controller don't init wakeup source
      [    4.035668] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0009f4780, 0x:ffffffd0052d2000, irq_no:2e
      [    4.049207] [sunxi-ehci0]: Not init ehci0
      [    4.054194] get ohci0-controller wakeup-source is fail.
      [    4.060194] sunxi ohci0-controller don't init wakeup source
      [    4.066478] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0009f52c0
      [    4.076929] [sunxi-ohci0]: Not init ohci0
      [    4.084213] of_get_named_gpiod_flags: parsed 'usb_det_vbus_gpio' property of node '/soc@3000000/usbc0@0[0]' - status (0)
      [    4.096452] of_get_named_gpiod_flags: parsed 'usb_id_gpio' property of node '/soc@3000000/usbc0@0[0]' - status (0)
      [    4.108212] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01)
      [    4.117971] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01)
      [    4.127731] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01)
      [    4.137493] sunxi-mmc 4022000.sdmmc: avoid to switch power_off_notification to POWERED_ON(0x01)
      [    4.148577] cfg80211: Loading compiled-in X.509 certificates for regulatory database
      [    4.160150] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 4 timing LEGACY(SDR12) dt B
      [    4.172016] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
      [    4.179393] clk: Not disabling unused clocks
      [    4.184211] ALSA device list:
      [    4.187541]   #0: audiocodec
      [    4.190786]   #1: sndhdmi
      [    4.193745] alloc_fd: slot 0 not NULL!
      [    4.198495] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
      [    4.208215] cfg80211: failed to load regulatory.db
      [    4.214234] VFS: Cannot open root device "mmcblk0p4" or unknown-block(0,0): error -6
      [    4.222935] Please append a correct "root=" boot option; here are the available partitions:
      [    4.232318] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
      [    4.241563] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #66
      [    4.248092] Call Trace:
      [    4.250835] [<ffffffe0000333d4>] walk_stackframe+0x0/0xa0
      [    4.256879] [<ffffffe000033534>] show_stack+0x2a/0x34
      [    4.262535] [<ffffffe0006ab266>] dump_stack+0x20/0x28
      [    4.268204] [<ffffffe000037f78>] panic+0xe4/0x272
      [    4.273468] [<ffffffe000000ef8>] mount_block_root+0x1f2/0x28e
      [    4.279912] [<ffffffe00000101a>] mount_root+0x86/0x90
      [    4.285561] [<ffffffe000001134>] prepare_namespace+0x110/0x156
      [    4.292107] [<ffffffe000000b8e>] kernel_init_freeable+0x186/0x1a6
      [    4.298943] [<ffffffe0006be13c>] kernel_init+0x12/0xe6
      [    4.304696] [<ffffffe000032018>] ret_from_exception+0x0/0xc
      [    4.310948] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
      
      发布在 MR Series
      A
      andy89926
    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      @andy89926
      请大佬帮我看看,cmdline是这样的

      [    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p4  init=/sbin/init partitions=ext4 cma=8M  gpt=1 androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05(07/06/2021-07:40:44) mbr_offset=1556480 disp_reserve=4096000,0x000000007eb1b280 androidboot.dramsize=1024
      
      

      mmc相关的是这样的

      [    2.634362] sunxi-ehci: EHCI SUNXI driver
      [    2.639388] get ehci1-controller wakeup-source is fail.
      [    2.645337] sunxi ehci1-controller don't init wakeup source
      [    2.651578] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0009f4b40, 0x:ffffffd004079000, irq_no:31
      [    2.665102] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
      [    2.677610] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
      [    2.684863] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
      [    2.694689] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
      [    2.715971] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
      [    2.723763] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
      [    2.733369] hub 1-0:1.0: USB hub found
      [    2.737636] hub 1-0:1.0: 1 port detected
      [    2.742822] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    2.749781] sunxi-ohci: OHCI SUNXI driver
      [    2.754796] get ohci1-controller wakeup-source is fail.
      [    2.760757] sunxi ohci1-controller don't init wakeup source
      [    2.766997] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0009f5680
      [    2.777419] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
      [    2.789915] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
      [    2.797168] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
      [    2.806969] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
      [    2.876947] hub 2-0:1.0: USB hub found
      [    2.881216] hub 2-0:1.0: 1 port detected
      [    2.886655] usbcore: registered new interface driver uas
      [    2.892742] usbcore: registered new interface driver usb-storage
      [    2.899532] usbcore: registered new interface driver ums-alauda
      [    2.906234] usbcore: registered new interface driver ums-cypress
      [    2.913031] usbcore: registered new interface driver ums-datafab
      [    2.919817] usbcore: registered new interface driver ums_eneub6250
      [    2.926797] usbcore: registered new interface driver ums-freecom
      [    2.933587] usbcore: registered new interface driver ums-isd200
      [    2.940279] usbcore: registered new interface driver ums-jumpshot
      [    2.947166] usbcore: registered new interface driver ums-karma
      [    2.953809] usbcore: registered new interface driver ums-onetouch
      [    2.960721] usbcore: registered new interface driver ums-realtek
      [    2.967515] usbcore: registered new interface driver ums-sddr09
      [    2.974218] usbcore: registered new interface driver ums-sddr55
      [    2.980918] usbcore: registered new interface driver ums-usbat
      [    2.987539] sunxi_gpadc_init,1968, success
      [    2.992843] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1
      [    3.005305] sunxi-rtc 7090000.rtc: registered as rtc0
      [    3.011072] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:04 UTC (4)
      [    3.019931] sunxi-rtc 7090000.rtc: sunxi rtc probed
      [    3.025764] i2c /dev entries driver
      [    3.029765] IR NEC protocol handler initialized
      [    3.034839] IR RC5(x/sz) protocol handler initialized
      [    3.042222] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
      [    3.054225] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
      [    3.065464] sunxi-mmc 4022000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50)
      [    3.075427] sunxi-mmc 4022000.sdmmc: ***ctl-spec-caps*** 308
      [    3.081822] sunxi-mmc 4022000.sdmmc: No vmmc regulator found
      [    3.088155] sunxi-mmc 4022000.sdmmc: No vqmmc regulator found
      [    3.094579] sunxi-mmc 4022000.sdmmc: No vdmmc regulator found
      [    3.101002] sunxi-mmc 4022000.sdmmc: No vd33sw regulator found
      [    3.107522] sunxi-mmc 4022000.sdmmc: No vd18sw regulator found
      [    3.114041] sunxi-mmc 4022000.sdmmc: No vq33sw regulator found
      [    3.120561] sunxi-mmc 4022000.sdmmc: No vq18sw regulator found
      [    3.127099] of_get_named_gpiod_flags: can't parse 'card-pwr-gpios' property of node '/soc@3000000/sdmmc@4022000[0]'
      [    3.138772] sunxi-mmc 4022000.sdmmc: Cann't get pin bias hs pinstate,check if needed
      [    3.147814] sunxi-mmc 4022000.sdmmc: GPIO lookup for consumer wp
      [    3.154555] sunxi-mmc 4022000.sdmmc: using device tree for GPIO lookup
      [    3.161874] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/soc@3000000/sdmmc@4022000[0]'
      [    3.172970] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/soc@3000000/sdmmc@4022000[0]'
      [    3.183970] sunxi-mmc 4022000.sdmmc: using lookup tables for GPIO lookup
      [    3.191460] sunxi-mmc 4022000.sdmmc: No GPIO consumer wp found
      [    3.198487] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.209624] usb 1-1: new high-speed USB device number 2 using sunxi-ehci
      [    3.227983] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.251984] sunxi-mmc 4022000.sdmmc: detmode:alway in(non removable)
      [    3.260755] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50)
      [    3.270704] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
      [    3.276898] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
      [    3.283230] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
      [    3.289660] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
      [    3.296086] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
      [    3.302604] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
      [    3.309126] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
      [    3.315644] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
      [    3.322189] of_get_named_gpiod_flags: can't parse 'card-pwr-gpios' property of node '/soc@3000000/sdmmc@4020000[0]'
      [    3.333964] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.345914] sunxi-mmc 4020000.sdmmc: GPIO lookup for consumer cd
      [    3.352656] sunxi-mmc 4020000.sdmmc: using device tree for GPIO lookup
      [    3.360001] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/soc@3000000/sdmmc@4020000[0]' - status (0)
      [    3.371891] gpio gpiochip0: Persistence not supported for GPIO 166
      [    3.378825] sunxi-mmc 4020000.sdmmc: Got CD GPIO
      [    3.384005] sunxi-mmc 4020000.sdmmc: GPIO lookup for consumer wp
      [    3.390717] sunxi-mmc 4020000.sdmmc: using device tree for GPIO lookup
      [    3.398028] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/soc@3000000/sdmmc@4020000[0]'
      [    3.409121] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/soc@3000000/sdmmc@4020000[0]'
      [    3.420107] sunxi-mmc 4020000.sdmmc: using lookup tables for GPIO lookup
      [    3.427595] sunxi-mmc 4020000.sdmmc: No GPIO consumer wp found
      [    3.434681] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
      [    3.441388] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.452566] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
      [    3.460195] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.471862] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.483534] sunxi-mmc 4022000.sdmmc: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    3.495553] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
      [    3.502142] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    3.514350] hub 1-1:1.0: USB hub found
      [    3.518985] hub 1-1:1.0: 4 ports detected
      [    3.532797] usbcore: registered new interface driver usbhid
      [    3.539061] usbhid: USB HID core driver
      [    3.547832] sunxi-daudio 2034000.daudio: regulator missing or invalid
      [    3.556081] [AUDIOCODEC][sunxi_codec_parse_params][2094]:digital_vol:0, lineout_vol:26, mic1gain:19, mic2gain:19 pa_msleep:120, pa_level:1, pa_pwr_level:1
      [    3.556081]
      
      
      发布在 MR Series
      A
      andy89926
    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      @amturing 阿里的源也支持RISC-V吗?

      发布在 MR Series
      A
      andy89926
    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      加了emmc之后,如何设置开机检测流程??
      韦老师您好,我做了块带emmc的板子,使用了芯片的sdc2接口,在board.dts里打开了sdc2的mmc功能。
      然后现在开机就会先后挂载sdc2和sdc0,不知道为什么先挂载的sdc2,可能就把sdc2上的emmc给弄成mmcblk0了,sdc0上的sd卡就变成了mmcblk1。bootargus默认设置的是mmc0。
      但是emmc里没有分区,更没有装系统,开机就卡死了。
      我想问下,如何修改内核,让它能依次检测存储介质,先看sd卡,再看emmc,哪个有装系统就从哪个启动。
      这个该如何配置呢?初学玩家求指导,谢谢啦

      c088c5b0-f1e3-4bca-8a4f-5bbd13bc7e2c-image.png

      发布在 MR Series
      A
      andy89926
    • 回复: 给Buildroot(全志D1)移植RTL8723DS驱动

      @chrithon 为什么rtl8189fs要改成rtl8723ds ??

      发布在 MR Series
      A
      andy89926