[U-Boot] [RESEND PATCH 2/2] net: designware: add clock support

Patrice CHOTARD patrice.chotard at st.com
Fri Feb 16 08:02:17 UTC 2018


Hi Jonathan

Have you tried to apply the fix available here ?

http://u-boot.10912.n7.nabble.com/PATCH-NET-designware-fix-clock-enable-td320043.html

Regards

Patrice


On 02/16/2018 08:17 AM, Jonathan Gray wrote:
> On Wed, Nov 29, 2017 at 09:06:11AM +0100, patrice.chotard at st.com wrote:
>> From: Patrice Chotard <patrice.chotard at st.com>
>>
>> This implementation manages several clocks, disable and
>> free all of them in case of error during probe and in remove
>> callback.
>>
>> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
>> ---
>>   drivers/net/designware.c | 43 +++++++++++++++++++++++++++++++++++++++++++
>>   drivers/net/designware.h |  4 ++++
>>   2 files changed, 47 insertions(+)
> 
> RK3288 Ethernet on the ASUS Tinker Board fails to probe with master
> (32fe36574ea5e6ea55313e16547b98a984af7767) but worked with 2018.01.
> 
> ba1f966725223c605ed504b09446c52a3f201c2b is the first bad commit
> commit ba1f966725223c605ed504b09446c52a3f201c2b
> Author: Patrice Chotard <patrice.chotard at st.com>
> Date:   Wed Nov 29 09:06:11 2017 +0100
> 
>      net: designware: add clock support
>      
>      This implementation manages several clocks, disable and
>      free all of them in case of error during probe and in remove
>      callback.
>      
>      Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
>      Reviewed-by: Simon Glass <sjg at chromium.org>
>      Acked-by: Joe Hershberger <joe.hershberger at ni.com>
> 
> :040000 040000 6f1002af4c0f3ed7ab6f2418d4f2de00bbe454a7 e18d2a6c24cbfd055c89fa250946bf85199fff90 M      drivers
> 
> U-Boot 2018.03-rc2-00047-gc1531533c5 (Feb 16 2018 - 15:38:39 +1100)
> 
> Model: Tinker-RK3288
> DRAM:  2 GiB
> MMC:   dwmmc at ff0c0000: 1
> Loading Environment from MMC... *** Warning - bad CRC, using default environment
> 
> Failed (-5)
> In:    serial
> Out:   serial
> Err:   serial
> Model: Tinker-RK3288
> Net:   failed to enable clock 0
> No ethernet found.
> Hit any key to stop autoboot:  0
> => dm tree
>   Class	    Probed  Driver	Name
> ----------------------------------------
>   root	    [ + ]   root_drive	root_driver
>   clk	    [	]   fixed_rate	|-- oscillator
>   mmc	    [ + ]   rockchip_r	|-- dwmmc at ff0c0000
>   blk	    [ + ]   mmc_blk	|   `-- dwmmc at ff0c0000.blk
>   adc	    [ + ]   rockchip_s	|-- saradc at ff100000
>   i2c	    [	]   i2c_rockch	|-- i2c at ff170000
>   serial	    [	]   ns16550_se	|-- serial at ff180000
>   serial	    [	]   ns16550_se	|-- serial at ff190000
>   serial	    [ + ]   ns16550_se	|-- serial at ff690000
>   serial	    [	]   ns16550_se	|-- serial at ff1b0000
>   serial	    [	]   ns16550_se	|-- serial at ff1c0000
>   eth	    [	]   gmac_rockc	|-- ethernet at ff290000
>   usb	    [	]   dwc2_usb	|-- usb at ff540000
>   usb	    [	]   dwc2_usb	|-- usb at ff580000
>   ram	    [	]   rockchip_r	|-- dmc at ff610000
>   i2c	    [ + ]   i2c_rockch	|-- i2c at ff650000
>   pmic	    [ + ]   rk8xx pmic	|   `-- pmic at 1b
>   regulator  [	]   rk8xx_buck	|	|-- DCDC_REG1
>   regulator  [	]   rk8xx_buck	|	|-- DCDC_REG2
>   regulator  [	]   rk8xx_buck	|	|-- DCDC_REG3
>   regulator  [	]   rk8xx_buck	|	|-- DCDC_REG4
>   regulator  [	]   rk8xx_ldo	|	|-- LDO_REG1
>   regulator  [	]   rk8xx_ldo	|	|-- LDO_REG2
>   regulator  [	]   rk8xx_ldo	|	|-- LDO_REG3
>   regulator  [	]   rk8xx_ldo	|	|-- LDO_REG4
>   regulator  [ + ]   rk8xx_ldo	|	|-- LDO_REG5
>   regulator  [	]   rk8xx_ldo	|	|-- LDO_REG6
>   regulator  [	]   rk8xx_ldo	|	|-- LDO_REG7
>   regulator  [	]   rk8xx_ldo	|	|-- LDO_REG8
>   regulator  [	]   rk8xx_swit	|	|-- SWITCH_REG1
>   regulator  [	]   rk8xx_swit	|	`-- SWITCH_REG2
>   i2c	    [ + ]   i2c_rockch	|-- i2c at ff660000
>   i2c_eeprom [ + ]   i2c_eeprom	|   `-- m24c08 at 50
>   pwm	    [	]   rk_pwm	|-- pwm at ff680000
>   pwm	    [	]   rk_pwm	|-- pwm at ff680010
>   syscon	    [ + ]   rk3288_sys	|-- power-management at ff730000
>   syscon	    [	]   rk3288_sys	|-- syscon at ff740000
>   clk	    [ + ]   rockchip_r	|-- clock-controller at ff760000
>   sysreset   [	]   rockchip_s	|   `-- sysreset
>   syscon	    [ + ]   rk3288_sys	|-- syscon at ff770000
>   syscon	    [	]   rk3288_sys	|-- syscon at ffac0000
>   pinctrl    [ + ]   rockchip_r	|-- pinctrl
>   gpio	    [	]   gpio_rockc	|   |-- gpio0 at ff750000
>   gpio	    [	]   gpio_rockc	|   |-- gpio1 at ff780000
>   gpio	    [	]   gpio_rockc	|   |-- gpio2 at ff790000
>   gpio	    [	]   gpio_rockc	|   |-- gpio3 at ff7a0000
>   gpio	    [ + ]   gpio_rockc	|   |-- gpio4 at ff7b0000
>   gpio	    [	]   gpio_rockc	|   |-- gpio5 at ff7c0000
>   gpio	    [	]   gpio_rockc	|   |-- gpio6 at ff7d0000
>   gpio	    [ + ]   gpio_rockc	|   |-- gpio7 at ff7e0000
>   gpio	    [	]   gpio_rockc	|   |-- gpio8 at ff7f0000
>   pinconfig  [	]   pinconfig	|   |-- pcfg-pull-up
>   pinconfig  [	]   pinconfig	|   |-- pcfg-pull-down
>   pinconfig  [	]   pinconfig	|   |-- pcfg-pull-none
>   pinconfig  [	]   pinconfig	|   |-- pcfg-pull-none-12ma
>   pinconfig  [ + ]   pinconfig	|   |-- sleep
>   pinconfig  [ + ]   pinconfig	|   |	|-- global-pwroff
>   pinconfig  [	]   pinconfig	|   |	|-- ddrio-pwroff
>   pinconfig  [	]   pinconfig	|   |	|-- ddr0-retention
>   pinconfig  [	]   pinconfig	|   |	`-- ddr1-retention
>   pinconfig  [ + ]   pinconfig	|   |-- i2c0
>   pinconfig  [ + ]   pinconfig	|   |	`-- i2c0-xfer
>   pinconfig  [	]   pinconfig	|   |-- i2c1
>   pinconfig  [	]   pinconfig	|   |	`-- i2c1-xfer
>   pinconfig  [ + ]   pinconfig	|   |-- i2c2
>   pinconfig  [ + ]   pinconfig	|   |	`-- i2c2-xfer
>   pinconfig  [	]   pinconfig	|   |-- i2c3
>   pinconfig  [	]   pinconfig	|   |	`-- i2c3-xfer
>   pinconfig  [	]   pinconfig	|   |-- i2c4
>   pinconfig  [	]   pinconfig	|   |	`-- i2c4-xfer
>   pinconfig  [	]   pinconfig	|   |-- i2c5
>   pinconfig  [	]   pinconfig	|   |	`-- i2c5-xfer
>   pinconfig  [	]   pinconfig	|   |-- i2s0
>   pinconfig  [	]   pinconfig	|   |	`-- i2s0-bus
>   pinconfig  [	]   pinconfig	|   |-- lcdc0
>   pinconfig  [	]   pinconfig	|   |	`-- lcdc0-ctl
>   pinconfig  [ + ]   pinconfig	|   |-- sdmmc
>   pinconfig  [ + ]   pinconfig	|   |	|-- sdmmc-clk
>   pinconfig  [ + ]   pinconfig	|   |	|-- sdmmc-cmd
>   pinconfig  [ + ]   pinconfig	|   |	|-- sdmcc-cd
>   pinconfig  [	]   pinconfig	|   |	|-- sdmmc-bus1
>   pinconfig  [ + ]   pinconfig	|   |	|-- sdmmc-bus4
>   pinconfig  [ + ]   pinconfig	|   |	`-- sdmmc-pwr
>   pinconfig  [	]   pinconfig	|   |-- sdio0
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-bus1
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-bus4
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-cmd
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-clk
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-cd
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-wp
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-pwr
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-bkpwr
>   pinconfig  [	]   pinconfig	|   |	`-- sdio0-int
>   pinconfig  [	]   pinconfig	|   |-- sdio1
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-bus1
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-bus4
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-cd
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-wp
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-bkpwr
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-int
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-cmd
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-clk
>   pinconfig  [	]   pinconfig	|   |	`-- sdio1-pwr
>   pinconfig  [	]   pinconfig	|   |-- emmc
>   pinconfig  [	]   pinconfig	|   |	|-- emmc-clk
>   pinconfig  [	]   pinconfig	|   |	|-- emmc-cmd
>   pinconfig  [	]   pinconfig	|   |	|-- emmc-pwr
>   pinconfig  [	]   pinconfig	|   |	|-- emmc-bus1
>   pinconfig  [	]   pinconfig	|   |	|-- emmc-bus4
>   pinconfig  [	]   pinconfig	|   |	`-- emmc-bus8
>   pinconfig  [	]   pinconfig	|   |-- spi0
>   pinconfig  [	]   pinconfig	|   |	|-- spi0-clk
>   pinconfig  [	]   pinconfig	|   |	|-- spi0-cs0
>   pinconfig  [	]   pinconfig	|   |	|-- spi0-tx
>   pinconfig  [	]   pinconfig	|   |	|-- spi0-rx
>   pinconfig  [	]   pinconfig	|   |	`-- spi0-cs1
>   pinconfig  [	]   pinconfig	|   |-- spi1
>   pinconfig  [	]   pinconfig	|   |	|-- spi1-clk
>   pinconfig  [	]   pinconfig	|   |	|-- spi1-cs0
>   pinconfig  [	]   pinconfig	|   |	|-- spi1-rx
>   pinconfig  [	]   pinconfig	|   |	`-- spi1-tx
>   pinconfig  [	]   pinconfig	|   |-- spi2
>   pinconfig  [	]   pinconfig	|   |	|-- spi2-cs1
>   pinconfig  [	]   pinconfig	|   |	|-- spi2-clk
>   pinconfig  [	]   pinconfig	|   |	|-- spi2-cs0
>   pinconfig  [	]   pinconfig	|   |	|-- spi2-rx
>   pinconfig  [	]   pinconfig	|   |	`-- spi2-tx
>   pinconfig  [	]   pinconfig	|   |-- uart0
>   pinconfig  [	]   pinconfig	|   |	|-- uart0-xfer
>   pinconfig  [	]   pinconfig	|   |	|-- uart0-cts
>   pinconfig  [	]   pinconfig	|   |	`-- uart0-rts
>   pinconfig  [	]   pinconfig	|   |-- uart1
>   pinconfig  [	]   pinconfig	|   |	|-- uart1-xfer
>   pinconfig  [	]   pinconfig	|   |	|-- uart1-cts
>   pinconfig  [	]   pinconfig	|   |	`-- uart1-rts
>   pinconfig  [ + ]   pinconfig	|   |-- uart2
>   pinconfig  [ + ]   pinconfig	|   |	`-- uart2-xfer
>   pinconfig  [	]   pinconfig	|   |-- uart3
>   pinconfig  [	]   pinconfig	|   |	|-- uart3-xfer
>   pinconfig  [	]   pinconfig	|   |	|-- uart3-cts
>   pinconfig  [	]   pinconfig	|   |	`-- uart3-rts
>   pinconfig  [	]   pinconfig	|   |-- uart4
>   pinconfig  [	]   pinconfig	|   |	|-- uart4-xfer
>   pinconfig  [	]   pinconfig	|   |	|-- uart4-cts
>   pinconfig  [	]   pinconfig	|   |	`-- uart4-rts
>   pinconfig  [	]   pinconfig	|   |-- tsadc
>   pinconfig  [	]   pinconfig	|   |	`-- otp-out
>   pinconfig  [	]   pinconfig	|   |-- pwm0
>   pinconfig  [	]   pinconfig	|   |	`-- pwm0-pin
>   pinconfig  [	]   pinconfig	|   |-- pwm1
>   pinconfig  [	]   pinconfig	|   |	`-- pwm1-pin
>   pinconfig  [	]   pinconfig	|   |-- pwm2
>   pinconfig  [	]   pinconfig	|   |	`-- pwm2-pin
>   pinconfig  [	]   pinconfig	|   |-- pwm3
>   pinconfig  [	]   pinconfig	|   |	`-- pwm3-pin
>   pinconfig  [ + ]   pinconfig	|   |-- gmac
>   pinconfig  [ + ]   pinconfig	|   |	|-- rgmii-pins
>   pinconfig  [	]   pinconfig	|   |	`-- rmii-pins
>   pinconfig  [	]   pinconfig	|   |-- spdif
>   pinconfig  [	]   pinconfig	|   |	`-- spdif-tx
>   pinconfig  [	]   pinconfig	|   |-- pcfg-pull-none-drv-8ma
>   pinconfig  [	]   pinconfig	|   |-- pcfg-pull-up-drv-8ma
>   pinconfig  [	]   pinconfig	|   |-- backlight
>   pinconfig  [	]   pinconfig	|   |	`-- bl-en
>   pinconfig  [	]   pinconfig	|   |-- buttons
>   pinconfig  [	]   pinconfig	|   |	`-- pwrbtn
>   pinconfig  [	]   pinconfig	|   |-- eth_phy
>   pinconfig  [	]   pinconfig	|   |	`-- eth-phy-pwr
>   pinconfig  [ + ]   pinconfig	|   |-- pmic
>   pinconfig  [ + ]   pinconfig	|   |	`-- pmic-int
>   pinconfig  [	]   pinconfig	|   `-- usb
>   pinconfig  [	]   pinconfig	|	|-- host-vbus-drv
>   pinconfig  [	]   pinconfig	|	`-- pwr-3g
>   clk	    [ + ]   fixed_rate	|-- external-gmac-clock
>   regulator  [	]   fixed regu	|-- vsys-regulator
>   regulator  [ + ]   fixed regu	|-- sdmmc-regulator
>   regulator  [	]   fixed regu	`-- usb-host-regulator
> =>
> 
> U-Boot 2018.01 (Feb 06 2018 - 23:24:11 -0700)
> 
> Model: Tinker-RK3288
> DRAM:  2 GiB
> MMC:   dwmmc at ff0c0000: 1
> *** Warning - bad CRC, using default environment
> 
> In:    serial
> Out:   serial
> Err:   serial
> Model: Tinker-RK3288
> Net:   eth0: ethernet at ff290000
> Hit any key to stop autoboot:  0
> => dm tree
>   Class	    Probed  Driver	Name
> ----------------------------------------
>   root	    [ + ]   root_drive	root_driver
>   clk	    [	]   fixed_rate	|-- oscillator
>   mmc	    [ + ]   rockchip_r	|-- dwmmc at ff0c0000
>   blk	    [ + ]   mmc_blk	|   `-- dwmmc at ff0c0000.blk
>   adc	    [ + ]   rockchip_s	|-- saradc at ff100000
>   i2c	    [	]   i2c_rockch	|-- i2c at ff170000
>   serial	    [	]   ns16550_se	|-- serial at ff180000
>   serial	    [	]   ns16550_se	|-- serial at ff190000
>   serial	    [ + ]   ns16550_se	|-- serial at ff690000
>   serial	    [	]   ns16550_se	|-- serial at ff1b0000
>   serial	    [	]   ns16550_se	|-- serial at ff1c0000
>   eth	    [ + ]   gmac_rockc	|-- ethernet at ff290000
>   usb	    [	]   dwc2_usb	|-- usb at ff540000
>   usb	    [	]   dwc2_usb	|-- usb at ff580000
>   ram	    [	]   rockchip_r	|-- dmc at ff610000
>   i2c	    [ + ]   i2c_rockch	|-- i2c at ff650000
>   pmic	    [ + ]   rk8xx pmic	|   `-- pmic at 1b
>   regulator  [	]   rk8xx_buck	|	|-- DCDC_REG1
>   regulator  [	]   rk8xx_buck	|	|-- DCDC_REG2
>   regulator  [	]   rk8xx_buck	|	|-- DCDC_REG3
>   regulator  [	]   rk8xx_buck	|	|-- DCDC_REG4
>   regulator  [	]   rk8xx_ldo	|	|-- LDO_REG1
>   regulator  [	]   rk8xx_ldo	|	|-- LDO_REG2
>   regulator  [	]   rk8xx_ldo	|	|-- LDO_REG3
>   regulator  [	]   rk8xx_ldo	|	|-- LDO_REG4
>   regulator  [	]   rk8xx_ldo	|	|-- LDO_REG5
>   regulator  [	]   rk8xx_ldo	|	|-- LDO_REG6
>   regulator  [	]   rk8xx_ldo	|	|-- LDO_REG7
>   regulator  [	]   rk8xx_ldo	|	|-- LDO_REG8
>   regulator  [	]   rk8xx_swit	|	|-- SWITCH_REG1
>   regulator  [ + ]   rk8xx_swit	|	`-- SWITCH_REG2
>   i2c	    [ + ]   i2c_rockch	|-- i2c at ff660000
>   i2c_eeprom [ + ]   i2c_eeprom	|   `-- m24c08 at 50
>   pwm	    [	]   rk_pwm	|-- pwm at ff680000
>   pwm	    [	]   rk_pwm	|-- pwm at ff680010
>   syscon	    [ + ]   rk3288_sys	|-- power-management at ff730000
>   syscon	    [	]   rk3288_sys	|-- syscon at ff740000
>   clk	    [ + ]   rockchip_r	|-- clock-controller at ff760000
>   sysreset   [	]   rockchip_s	|   `-- sysreset
>   syscon	    [ + ]   rk3288_sys	|-- syscon at ff770000
>   syscon	    [	]   rk3288_sys	|-- syscon at ffac0000
>   pinctrl    [ + ]   rockchip_r	|-- pinctrl
>   gpio	    [	]   gpio_rockc	|   |-- gpio0 at ff750000
>   gpio	    [	]   gpio_rockc	|   |-- gpio1 at ff780000
>   gpio	    [	]   gpio_rockc	|   |-- gpio2 at ff790000
>   gpio	    [	]   gpio_rockc	|   |-- gpio3 at ff7a0000
>   gpio	    [ + ]   gpio_rockc	|   |-- gpio4 at ff7b0000
>   gpio	    [	]   gpio_rockc	|   |-- gpio5 at ff7c0000
>   gpio	    [	]   gpio_rockc	|   |-- gpio6 at ff7d0000
>   gpio	    [ + ]   gpio_rockc	|   |-- gpio7 at ff7e0000
>   gpio	    [	]   gpio_rockc	|   |-- gpio8 at ff7f0000
>   pinconfig  [	]   pinconfig	|   |-- pcfg-pull-up
>   pinconfig  [	]   pinconfig	|   |-- pcfg-pull-down
>   pinconfig  [	]   pinconfig	|   |-- pcfg-pull-none
>   pinconfig  [	]   pinconfig	|   |-- pcfg-pull-none-12ma
>   pinconfig  [ + ]   pinconfig	|   |-- sleep
>   pinconfig  [ + ]   pinconfig	|   |	|-- global-pwroff
>   pinconfig  [	]   pinconfig	|   |	|-- ddrio-pwroff
>   pinconfig  [	]   pinconfig	|   |	|-- ddr0-retention
>   pinconfig  [	]   pinconfig	|   |	`-- ddr1-retention
>   pinconfig  [ + ]   pinconfig	|   |-- i2c0
>   pinconfig  [ + ]   pinconfig	|   |	`-- i2c0-xfer
>   pinconfig  [	]   pinconfig	|   |-- i2c1
>   pinconfig  [	]   pinconfig	|   |	`-- i2c1-xfer
>   pinconfig  [ + ]   pinconfig	|   |-- i2c2
>   pinconfig  [ + ]   pinconfig	|   |	`-- i2c2-xfer
>   pinconfig  [	]   pinconfig	|   |-- i2c3
>   pinconfig  [	]   pinconfig	|   |	`-- i2c3-xfer
>   pinconfig  [	]   pinconfig	|   |-- i2c4
>   pinconfig  [	]   pinconfig	|   |	`-- i2c4-xfer
>   pinconfig  [	]   pinconfig	|   |-- i2c5
>   pinconfig  [	]   pinconfig	|   |	`-- i2c5-xfer
>   pinconfig  [	]   pinconfig	|   |-- i2s0
>   pinconfig  [	]   pinconfig	|   |	`-- i2s0-bus
>   pinconfig  [	]   pinconfig	|   |-- lcdc0
>   pinconfig  [	]   pinconfig	|   |	`-- lcdc0-ctl
>   pinconfig  [ + ]   pinconfig	|   |-- sdmmc
>   pinconfig  [ + ]   pinconfig	|   |	|-- sdmmc-clk
>   pinconfig  [ + ]   pinconfig	|   |	|-- sdmmc-cmd
>   pinconfig  [ + ]   pinconfig	|   |	|-- sdmcc-cd
>   pinconfig  [	]   pinconfig	|   |	|-- sdmmc-bus1
>   pinconfig  [ + ]   pinconfig	|   |	|-- sdmmc-bus4
>   pinconfig  [ + ]   pinconfig	|   |	`-- sdmmc-pwr
>   pinconfig  [	]   pinconfig	|   |-- sdio0
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-bus1
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-bus4
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-cmd
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-clk
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-cd
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-wp
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-pwr
>   pinconfig  [	]   pinconfig	|   |	|-- sdio0-bkpwr
>   pinconfig  [	]   pinconfig	|   |	`-- sdio0-int
>   pinconfig  [	]   pinconfig	|   |-- sdio1
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-bus1
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-bus4
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-cd
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-wp
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-bkpwr
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-int
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-cmd
>   pinconfig  [	]   pinconfig	|   |	|-- sdio1-clk
>   pinconfig  [	]   pinconfig	|   |	`-- sdio1-pwr
>   pinconfig  [	]   pinconfig	|   |-- emmc
>   pinconfig  [	]   pinconfig	|   |	|-- emmc-clk
>   pinconfig  [	]   pinconfig	|   |	|-- emmc-cmd
>   pinconfig  [	]   pinconfig	|   |	|-- emmc-pwr
>   pinconfig  [	]   pinconfig	|   |	|-- emmc-bus1
>   pinconfig  [	]   pinconfig	|   |	|-- emmc-bus4
>   pinconfig  [	]   pinconfig	|   |	`-- emmc-bus8
>   pinconfig  [	]   pinconfig	|   |-- spi0
>   pinconfig  [	]   pinconfig	|   |	|-- spi0-clk
>   pinconfig  [	]   pinconfig	|   |	|-- spi0-cs0
>   pinconfig  [	]   pinconfig	|   |	|-- spi0-tx
>   pinconfig  [	]   pinconfig	|   |	|-- spi0-rx
>   pinconfig  [	]   pinconfig	|   |	`-- spi0-cs1
>   pinconfig  [	]   pinconfig	|   |-- spi1
>   pinconfig  [	]   pinconfig	|   |	|-- spi1-clk
>   pinconfig  [	]   pinconfig	|   |	|-- spi1-cs0
>   pinconfig  [	]   pinconfig	|   |	|-- spi1-rx
>   pinconfig  [	]   pinconfig	|   |	`-- spi1-tx
>   pinconfig  [	]   pinconfig	|   |-- spi2
>   pinconfig  [	]   pinconfig	|   |	|-- spi2-cs1
>   pinconfig  [	]   pinconfig	|   |	|-- spi2-clk
>   pinconfig  [	]   pinconfig	|   |	|-- spi2-cs0
>   pinconfig  [	]   pinconfig	|   |	|-- spi2-rx
>   pinconfig  [	]   pinconfig	|   |	`-- spi2-tx
>   pinconfig  [	]   pinconfig	|   |-- uart0
>   pinconfig  [	]   pinconfig	|   |	|-- uart0-xfer
>   pinconfig  [	]   pinconfig	|   |	|-- uart0-cts
>   pinconfig  [	]   pinconfig	|   |	`-- uart0-rts
>   pinconfig  [	]   pinconfig	|   |-- uart1
>   pinconfig  [	]   pinconfig	|   |	|-- uart1-xfer
>   pinconfig  [	]   pinconfig	|   |	|-- uart1-cts
>   pinconfig  [	]   pinconfig	|   |	`-- uart1-rts
>   pinconfig  [ + ]   pinconfig	|   |-- uart2
>   pinconfig  [ + ]   pinconfig	|   |	`-- uart2-xfer
>   pinconfig  [	]   pinconfig	|   |-- uart3
>   pinconfig  [	]   pinconfig	|   |	|-- uart3-xfer
>   pinconfig  [	]   pinconfig	|   |	|-- uart3-cts
>   pinconfig  [	]   pinconfig	|   |	`-- uart3-rts
>   pinconfig  [	]   pinconfig	|   |-- uart4
>   pinconfig  [	]   pinconfig	|   |	|-- uart4-xfer
>   pinconfig  [	]   pinconfig	|   |	|-- uart4-cts
>   pinconfig  [	]   pinconfig	|   |	`-- uart4-rts
>   pinconfig  [	]   pinconfig	|   |-- tsadc
>   pinconfig  [	]   pinconfig	|   |	`-- otp-out
>   pinconfig  [	]   pinconfig	|   |-- pwm0
>   pinconfig  [	]   pinconfig	|   |	`-- pwm0-pin
>   pinconfig  [	]   pinconfig	|   |-- pwm1
>   pinconfig  [	]   pinconfig	|   |	`-- pwm1-pin
>   pinconfig  [	]   pinconfig	|   |-- pwm2
>   pinconfig  [	]   pinconfig	|   |	`-- pwm2-pin
>   pinconfig  [	]   pinconfig	|   |-- pwm3
>   pinconfig  [	]   pinconfig	|   |	`-- pwm3-pin
>   pinconfig  [ + ]   pinconfig	|   |-- gmac
>   pinconfig  [ + ]   pinconfig	|   |	|-- rgmii-pins
>   pinconfig  [	]   pinconfig	|   |	`-- rmii-pins
>   pinconfig  [	]   pinconfig	|   |-- spdif
>   pinconfig  [	]   pinconfig	|   |	`-- spdif-tx
>   pinconfig  [	]   pinconfig	|   |-- pcfg-pull-none-drv-8ma
>   pinconfig  [	]   pinconfig	|   |-- pcfg-pull-up-drv-8ma
>   pinconfig  [	]   pinconfig	|   |-- backlight
>   pinconfig  [	]   pinconfig	|   |	`-- bl-en
>   pinconfig  [	]   pinconfig	|   |-- buttons
>   pinconfig  [	]   pinconfig	|   |	`-- pwrbtn
>   pinconfig  [	]   pinconfig	|   |-- eth_phy
>   pinconfig  [	]   pinconfig	|   |	`-- eth-phy-pwr
>   pinconfig  [ + ]   pinconfig	|   |-- pmic
>   pinconfig  [ + ]   pinconfig	|   |	`-- pmic-int
>   pinconfig  [	]   pinconfig	|   `-- usb
>   pinconfig  [	]   pinconfig	|	|-- host-vbus-drv
>   pinconfig  [	]   pinconfig	|	`-- pwr-3g
>   clk	    [	]   fixed_rate	|-- external-gmac-clock
>   regulator  [	]   fixed regu	|-- vsys-regulator
>   regulator  [ + ]   fixed regu	|-- sdmmc-regulator
>   regulator  [	]   fixed regu	`-- usb-host-regulator
> =>
> 
> @@ -73,7 +27,7 @@ Hit any key to stop autoboot:  0
>    serial	    [ + ]   ns16550_se	|-- serial at ff690000
>    serial	    [	]   ns16550_se	|-- serial at ff1b0000
>    serial	    [	]   ns16550_se	|-- serial at ff1c0000
> - eth	    [ + ]   gmac_rockc	|-- ethernet at ff290000
> + eth	    [	]   gmac_rockc	|-- ethernet at ff290000
>    usb	    [	]   dwc2_usb	|-- usb at ff540000
>    usb	    [	]   dwc2_usb	|-- usb at ff580000
>    ram	    [	]   rockchip_r	|-- dmc at ff610000
> @@ -87,12 +41,12 @@ Hit any key to stop autoboot:  0
>    regulator  [	]   rk8xx_ldo	|	|-- LDO_REG2
>    regulator  [	]   rk8xx_ldo	|	|-- LDO_REG3
>    regulator  [	]   rk8xx_ldo	|	|-- LDO_REG4
> - regulator  [	]   rk8xx_ldo	|	|-- LDO_REG5
> + regulator  [ + ]   rk8xx_ldo	|	|-- LDO_REG5
>    regulator  [	]   rk8xx_ldo	|	|-- LDO_REG6
>    regulator  [	]   rk8xx_ldo	|	|-- LDO_REG7
>    regulator  [	]   rk8xx_ldo	|	|-- LDO_REG8
>    regulator  [	]   rk8xx_swit	|	|-- SWITCH_REG1
> - regulator  [ + ]   rk8xx_swit	|	`-- SWITCH_REG2
> + regulator  [	]   rk8xx_swit	|	`-- SWITCH_REG2
>    i2c	    [ + ]   i2c_rockch	|-- i2c at ff660000
>    i2c_eeprom [ + ]   i2c_eeprom	|   `-- m24c08 at 50
>    pwm	    [	]   rk_pwm	|-- pwm at ff680000
> @@ -235,7 +189,7 @@ Hit any key to stop autoboot:  0
>    pinconfig  [	]   pinconfig	|   `-- usb
>    pinconfig  [	]   pinconfig	|	|-- host-vbus-drv
>    pinconfig  [	]   pinconfig	|	`-- pwr-3g
> - clk	    [	]   fixed_rate	|-- external-gmac-clock
> + clk	    [ + ]   fixed_rate	|-- external-gmac-clock
>    regulator  [	]   fixed regu	|-- vsys-regulator
>    regulator  [ + ]   fixed regu	|-- sdmmc-regulator
>    regulator  [	]   fixed regu	`-- usb-host-regulator
> 


More information about the U-Boot mailing list