From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C4BD1C001DC for ; Mon, 31 Jul 2023 13:59:08 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A9D7B86A6A; Mon, 31 Jul 2023 15:59:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.b="UwZqifJq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C70F0865D9; Mon, 31 Jul 2023 15:59:05 +0200 (CEST) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::223]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C3EE386A6A for ; Mon, 31 Jul 2023 15:59:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=miquel.raynal@bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 1D12A6000B; Mon, 31 Jul 2023 13:58:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1690811940; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qoaW5zaXfvvY7I2a0PWtZsN0iFgv0I8p27P2ZiGkS1k=; b=UwZqifJq4zzLFkJI/XBTxVKgxvKYLhfUTyGmeHd7Mq5mFMm9j/UTYsI66n+n5DTdZvuYyA UEFHkZcBToRii1lEn0qc6lu6L7Kdn95FcxVZ18t32mFhFrVVetKqKBf0tljyQkt803cFan Tc4Ct+qPVkD4X8HVn7vqv3znf4hCDKBY8QBD91WgCHZ/0C9dIXsGaPNdfDscBcRD7RlgUx OXF1wU5hscVH7HPcIQxnxHKZPr6vFi0LWVSIaFnJzlWU/gmFi5g+1BXhxShX1eF/snd90M 5Jawb8uQc940xX6ffzdoYXYrW9GyKFGY9mxKBQ3t0DtG5iFcGUVMdA1T3JABvA== Date: Mon, 31 Jul 2023 15:58:57 +0200 From: Miquel Raynal To: Marek Vasut Cc: u-boot@lists.denx.de, Kevin Hilman , Lukasz Majewski , Simon Glass Subject: Re: [PATCH v3 1/4] cmd: bind: Add unbind command with driver filter Message-ID: <20230731155857.1575f5a4@xps-13> In-Reply-To: <8c31ee42-36c4-beab-853b-45f7828908a6@denx.de> References: <20230729145712.213945-1-marex@denx.de> <20230731113159.26e710aa@xps-13> <20230731153607.6210e92f@xps-13> <8c31ee42-36c4-beab-853b-45f7828908a6@denx.de> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Hi Marek, marex@denx.de wrote on Mon, 31 Jul 2023 15:50:58 +0200: > On 7/31/23 15:36, Miquel Raynal wrote: > > Hi Marek, > >=20 > > marex@denx.de wrote on Mon, 31 Jul 2023 13:44:25 +0200: > > =20 > >> On 7/31/23 11:31, Miquel Raynal wrote: =20 > >>> Hi Marek, > >>> > >>> marex@denx.de wrote on Sat, 29 Jul 2023 16:57:09 +0200: =20 > >>> >>>> Extend the driver core to perform lookup by both OF node and = driver =20 > >>>> bound to the node. Use this to look up specific device instances to > >>>> unbind from nodes in the unbind command. One example where this is > >>>> needed is USB peripheral controller, which may have multiple gadget > >>>> drivers bound to it. The unbind command has to select that specific > >>>> gadget driver instance to unbind from the controller, not unbind the > >>>> controller driver itself from the controller. > >>>> > >>>> USB ethernet gadget usage looks as follows with this change. Notice > >>>> the extra 'usb_ether' addition in the 'unbind' command at the end. > >>>> " > >>>> bind /soc/usb-otg@49000000 usb_ether > >>>> setenv ethact usb_ether > >>>> setenv loadaddr 0xc2000000 > >>>> setenv ipaddr 10.0.0.2 > >>>> setenv serverip 10.0.0.1 > >>>> setenv netmask 255.255.255.0 > >>>> tftpboot 0xc2000000 10.0.0.1:test.file > >>>> unbind /soc/usb-otg@49000000 usb_ether > >>>> " > >>>> > >>>> Signed-off-by: Marek Vasut > >>>> --- =20 > >>> > >>> I am no longer getting wrong pointer dereferences, the SPL is working= in > >>> recovery mode, TFTP "File not found" errors are no longer a problem a= nd > >>> I did not experience any reset while tftp'ing regular files. > >>> > >>> One last remaining request on my side is the need for using fastboot = as > >>> well which does no longer work as-is: =20 > >>> >>> =3D> fastboot usb 0 =20 > >>> couldn't find an available UDC > >>> g_dnl_register: failed!, error: -19 > >>> exit not allowed from main input shell. > >>> > >>> Can you advise what bind/unbind command would be necessary here? =20 > >> > >> Either 'unbind usb_ether' or run 'dm tree' -> look up the path to usb_= ether in the tree (it will be hanging under usb_peripheral or some such), a= nd then use 'unbind '. =20 > >=20 > > Nice `dm tree` command, never used it before. > >=20 > > Even when I unbind usb_ether I still get the same error: > > =20 > > =3D> unbind /ocp/usb@47400000/usb@47401000 > > =3D> fastboot usb 0 =20 > > couldn't find an available UDC > > g_dnl_register: failed!, error: -19 > > exit not allowed from main input shell. > >=20 > > Is there a specific gadget driver which I should bind again manually? = =20 >=20 > Can you share the output of dm tree before/after unbind ? >=20 > fastboot should auto-bind to the right thing. Ok. Apparently it does not, but I don't have any clue why. If you want me to check something else I will. Here is the output: U-Boot 2023.07-00806-g979e7443428 (Jul 31 2023 - 11:17:06 +0200) CPU : AM335X-GP rev 2.1 Model: TI AM335x BeagleBone Black DRAM: 512 MiB Core: 160 devices, 18 uclasses, devicetree: separate WDT: Started wdt@44e35000 with servicing every 1000ms (60s timeout) NAND: 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Loading Environment from FAT... Unable to read "uboot.env" from mmc1:1...=20 not set. Validating first E-fuse MAC Net: Could not get PHY for ethernet@4a100000: addr 0 eth2: ethernet@4a100000using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in MAC de:ad:be:ef:00:01 HOST MAC de:ad:be:ef:00:00 RNDIS ready , eth3: usb_ether =3D> dm tree Class Index Probed Driver Name ----------------------------------------------------------- root 0 [ + ] root_driver root_driver rsa_mod_ex 0 [ ] mod_exp_sw |-- mod_exp_sw simple_bus 0 [ + ] simple_bus |-- ocp simple_bus 1 [ + ] simple_bus | |-- l4_wkup@44c00000 simple_bus 2 [ ] simple_bus | | |-- segment@0 simple_bus 3 [ ] simple_bus | | |-- segment@100000 simple_bus 4 [ + ] simple_bus | | `-- segment@200000 simple_bus 5 [ + ] ti_sysc | | |-- target-modu= le@0 simple_bus 6 [ + ] simple_bus | | | `-- prcm@0 simple_bus 7 [ ] simple_bus | | | |-- clo= cks clk 0 [ ] fixed_clock | | | | |--= clock-clk-32768 clk 1 [ ] fixed_clock | | | | |--= clock-clk-rc32k clk 2 [ ] fixed_clock | | | | |--= clock-virt-192000 00 clk 3 [ ] fixed_clock | | | | |--= clock-virt-240000 00 clk 4 [ ] fixed_clock | | | | |--= clock-virt-250000 00 clk 5 [ ] fixed_clock | | | | |--= clock-virt-260000 00 clk 6 [ ] fixed_clock | | | | |--= clock-tclkin clk 7 [ ] fixed_factor_clock | | | | |--= clock-dpll-ddr-m2 -div2 clk 8 [ ] fixed_factor_clock | | | | |--= clock-dpll-per-m2 -div4-wkupdm clk 9 [ ] fixed_factor_clock | | | | |--= clock-dpll-per-m2 -div4 clk 10 [ ] fixed_factor_clock | | | | |--= clock-clk-24mhz clk 11 [ ] fixed_factor_clock | | | | |--= clock-clkdiv32k clk 12 [ ] fixed_factor_clock | | | | |--= clock-l3-gclk clk 13 [ ] fixed_factor_clock | | | | |--= clock-dpll-core-m 4-div2 clk 14 [ ] fixed_factor_clock | | | | |--= clock-l4-rtc-gclk clk 15 [ ] fixed_factor_clock | | | | |--= clock-l4hs-gclk clk 16 [ ] fixed_factor_clock | | | | |--= clock-l3s-gclk clk 17 [ ] fixed_factor_clock | | | | |--= clock-l4fw-gclk clk 18 [ ] fixed_factor_clock | | | | |--= clock-l4ls-gclk clk 19 [ ] fixed_factor_clock | | | | |--= clock-sysclk-div clk 20 [ ] fixed_factor_clock | | | | |--= clock-cpsw-125mhz -gclk clk 21 [ ] fixed_factor_clock | | | | `--= clock-mmc simple_bus 8 [ ] ti_omap4_cm | | | |-- clo= ck@0 clk 22 [ ] ti_ctrl_clk | | | | |--= clock@38 clk 23 [ ] ti_ctrl_clk | | | | |--= clock@1c clk 24 [ ] ti_ctrl_clk | | | | |--= clock@24 clk 25 [ ] ti_ctrl_clk | | | | |--= clock@120 clk 26 [ ] ti_ctrl_clk | | | | |--= clock@e8 clk 27 [ ] ti_ctrl_clk | | | | |--= clock@0 clk 28 [ ] ti_ctrl_clk | | | | |--= clock@18 clk 29 [ ] ti_ctrl_clk | | | | |--= clock@14c clk 30 [ ] ti_ctrl_clk | | | | |--= clock@38 clk 31 [ ] ti_ctrl_clk | | | | |--= clock@1c clk 32 [ ] ti_ctrl_clk | | | | |--= clock@24 clk 33 [ ] ti_ctrl_clk | | | | |--= clock@120 clk 34 [ ] ti_ctrl_clk | | | | |--= clock@e8 clk 35 [ ] ti_ctrl_clk | | | | |--= clock@0 clk 36 [ ] ti_ctrl_clk | | | | |--= clock@18 clk 37 [ ] ti_ctrl_clk | | | | `--= clock@14c simple_bus 9 [ + ] ti_omap4_cm | | | |-- clo= ck@400 clk 38 [ + ] ti_ctrl_clk | | | | |--= clock@0 clk 39 [ ] ti_ctrl_clk | | | | |--= clock@14 clk 40 [ ] ti_ctrl_clk | | | | |--= clock@b0 clk 41 [ ] ti_ctrl_clk | | | | |--= clock@0 clk 42 [ ] ti_ctrl_clk | | | | |--= clock@14 clk 43 [ ] ti_ctrl_clk | | | | `--= clock@b0 simple_bus 10 [ ] ti_omap4_cm | | | |-- clo= ck@600 clk 44 [ ] ti_ctrl_clk | | | | |--= clock@0 clk 45 [ ] ti_ctrl_clk | | | | `--= clock@0 simple_bus 11 [ ] ti_omap4_cm | | | |-- clo= ck@800 clk 46 [ ] ti_ctrl_clk | | | | |--= clock@0 clk 47 [ ] ti_ctrl_clk | | | | `--= clock@0 simple_bus 12 [ ] ti_omap4_cm | | | |-- clo= ck@900 clk 48 [ ] ti_ctrl_clk | | | | |--= clock@0 clk 49 [ ] ti_ctrl_clk | | | | `--= clock@0 simple_bus 13 [ ] ti_omap4_cm | | | `-- clo= ck@a00 clk 50 [ ] ti_ctrl_clk | | | |--= clock@0 clk 51 [ ] ti_ctrl_clk | | | `--= clock@0 simple_bus 14 [ + ] ti_sysc | | |-- target-modu= le@7000 gpio 0 [ + ] gpio_omap | | | `-- gpio@0 simple_bus 15 [ + ] ti_sysc | | |-- target-modu= le@9000 serial 0 [ + ] omap_serial | | | `-- serial@0 simple_bus 16 [ ] ti_sysc | | |-- target-modu= le@b000 simple_bus 17 [ ] ti_sysc | | |-- target-modu= le@d000 simple_bus 18 [ ] ti_sysc | | |-- target-modu= le@10000 simple_bus 19 [ ] simple_bus | | | `-- scm@0 simple_bus 20 [ ] simple_bus | | | `-- scm= _conf@0 simple_bus 21 [ ] simple_bus | | | `--= clocks clk 52 [ ] fixed_factor_clock | | | = |-- clock-adc-tsc -fck clk 53 [ ] fixed_factor_clock | | | = |-- clock-dcan0-f ck clk 54 [ ] fixed_factor_clock | | | = |-- clock-dcan1-f ck clk 55 [ ] fixed_factor_clock | | | = |-- clock-mcasp0- fck clk 56 [ ] fixed_factor_clock | | | = |-- clock-mcasp1- fck clk 57 [ ] fixed_factor_clock | | | = |-- clock-smartre flex0-fck clk 58 [ ] fixed_factor_clock | | | = |-- clock-smartre flex1-fck clk 59 [ ] fixed_factor_clock | | | = |-- clock-sha0-fc k clk 60 [ ] fixed_factor_clock | | | = |-- clock-aes0-fc k clk 61 [ ] fixed_factor_clock | | | = `-- clock-rng-fck simple_bus 22 [ ] ti_sysc | | |-- target-modu= le@35000 simple_bus 23 [ ] ti_sysc | | `-- target-modu= le@3e000 simple_bus 24 [ ] simple_bus | |-- interconnect@480000= 00 simple_bus 25 [ ] simple_bus | | |-- segment@0 simple_bus 26 [ ] ti_sysc | | | |-- target-modu= le@22000 simple_bus 27 [ ] ti_sysc | | | |-- target-modu= le@24000 simple_bus 28 [ ] ti_sysc | | | |-- target-modu= le@2a000 simple_bus 29 [ ] ti_sysc | | | |-- target-modu= le@30000 simple_bus 30 [ ] ti_sysc | | | |-- target-modu= le@38000 simple_bus 31 [ ] ti_sysc | | | |-- target-modu= le@3c000 simple_bus 32 [ ] ti_sysc | | | |-- target-modu= le@4c000 gpio 1 [ ] gpio_omap | | | | `-- gpio@0 simple_bus 33 [ ] ti_sysc | | | |-- target-modu= le@60000 simple_bus 34 [ ] ti_sysc | | | |-- target-modu= le@80000 simple_bus 35 [ ] ti_sysc | | | |-- target-modu= le@c8000 simple_bus 36 [ ] ti_sysc | | | `-- target-modu= le@ca000 simple_bus 37 [ ] simple_bus | | |-- segment@100000 simple_bus 38 [ ] ti_sysc | | | |-- target-modu= le@9c000 simple_bus 39 [ ] ti_sysc | | | |-- target-modu= le@a0000 simple_bus 40 [ ] ti_sysc | | | |-- target-modu= le@a6000 simple_bus 41 [ ] ti_sysc | | | |-- target-modu= le@a8000 simple_bus 42 [ ] ti_sysc | | | |-- target-modu= le@aa000 simple_bus 43 [ ] ti_sysc | | | |-- target-modu= le@ac000 gpio 2 [ ] gpio_omap | | | | `-- gpio@0 simple_bus 44 [ ] ti_sysc | | | |-- target-modu= le@ae000 gpio 3 [ ] gpio_omap | | | | `-- gpio@0 simple_bus 45 [ ] ti_sysc | | | |-- target-modu= le@cc000 simple_bus 46 [ ] ti_sysc | | | |-- target-modu= le@d0000 simple_bus 47 [ ] ti_sysc | | | `-- target-modu= le@d8000 simple_bus 48 [ ] simple_bus | | |-- segment@200000 simple_bus 49 [ ] simple_bus | | `-- segment@300000 simple_bus 50 [ ] ti_sysc | | |-- target-modu= le@0 simple_bus 51 [ ] ti_sysc | | |-- target-modu= le@2000 simple_bus 52 [ ] ti_sysc | | |-- target-modu= le@4000 simple_bus 53 [ ] ti_sysc | | |-- target-modu= le@e000 simple_bus 54 [ ] ti_sysc | | `-- target-modu= le@10000 simple_bus 55 [ ] simple_bus | |-- interconnect@47c000= 00 simple_bus 56 [ ] simple_bus | | `-- segment@0 simple_bus 57 [ ] simple_bus | |-- interconnect@4a0000= 00 simple_bus 58 [ ] simple_bus | | `-- segment@0 simple_bus 59 [ ] ti_sysc | | `-- target-modu= le@100000 simple_bus 60 [ ] simple_bus | |-- interconnect@4b1400= 00 simple_bus 61 [ ] simple_bus | | `-- segment@0 simple_bus 62 [ ] ti_sysc | |-- target-module@49000= 000 simple_bus 63 [ ] ti_sysc | |-- target-module@49800= 000 simple_bus 64 [ ] ti_sysc | |-- target-module@49900= 000 simple_bus 65 [ ] ti_sysc | |-- target-module@49a00= 000 simple_bus 66 [ ] ti_sysc | |-- target-module@47810= 000 i2c 0 [ ] i2c_omap | |-- i2c@44e0b000 pmic 0 [ ] tps65217 pmic | | `-- tps@24 i2c 1 [ ] i2c_omap | |-- i2c@4819c000 mmc 0 [ + ] omap_hsmmc | |-- mmc@48060000 blk 0 [ ] mmc_blk | | |-- mmc@48060000.blk bootdev 0 [ ] mmc_bootdev | | `-- mmc@48060000.bo= otdev mmc 1 [ + ] omap_hsmmc | |-- mmc@481d8000 blk 1 [ + ] mmc_blk | | |-- mmc@481d8000.blk partition 0 [ + ] blk_partition | | | `-- mmc@481d800= 0.blk:1 bootdev 1 [ ] mmc_bootdev | | `-- mmc@481d8000.bo= otdev watchdog 0 [ + ] omap3_wdt | |-- wdt@44e35000 misc 0 [ + ] ti-musb-wrapper | |-- usb@47400000 usb 0 [ + ] ti-musb-peripheral | | |-- usb@47401000 ethernet 1 [ + ] usb_ether | | | `-- usb_ether bootdev 3 [ ] eth_bootdev | | | `-- usb_eth= er.bootdev usb 0 [ ] ti-musb-host | | `-- usb@47401800 ethernet 0 [ + ] eth_cpsw | |-- ethernet@4a100000 bootdev 2 [ ] eth_bootdev | | `-- ethernet@4a1000= 00.bootdev simple_bus 67 [ ] ti_sysc | |-- target-module@53100= 000 simple_bus 68 [ ] ti_sysc | |-- target-module@53500= 000 simple_bus 69 [ ] ti_sysc | `-- target-module@56000= 000 clk 62 [ ] fixed_clock |-- clk_mcasp0_fixed bootstd 0 [ ] bootstd_drv |-- bootstd bootmeth 0 [ ] bootmeth_efi | |-- efi bootmeth 1 [ ] bootmeth_extlinux | |-- extlinux bootmeth 2 [ ] bootmeth_pxe | |-- pxe bootmeth 3 [ ] vbe_simple | `-- vbe_simple timer 0 [ + ] omap_timer `-- timer@0 =3D> unbind /ocp/usb@47400000/usb@47401000 =3D> dm tree =20 Class Index Probed Driver Name ----------------------------------------------------------- root 0 [ + ] root_driver root_driver rsa_mod_ex 0 [ ] mod_exp_sw |-- mod_exp_sw simple_bus 0 [ + ] simple_bus |-- ocp simple_bus 1 [ + ] simple_bus | |-- l4_wkup@44c00000 simple_bus 2 [ ] simple_bus | | |-- segment@0 simple_bus 3 [ ] simple_bus | | |-- segment@100000 simple_bus 4 [ + ] simple_bus | | `-- segment@200000 simple_bus 5 [ + ] ti_sysc | | |-- target-modu= le@0 simple_bus 6 [ + ] simple_bus | | | `-- prcm@0 simple_bus 7 [ ] simple_bus | | | |-- clo= cks clk 0 [ ] fixed_clock | | | | |--= clock-clk-32768 clk 1 [ ] fixed_clock | | | | |--= clock-clk-rc32k clk 2 [ ] fixed_clock | | | | |--= clock-virt-192000 00 clk 3 [ ] fixed_clock | | | | |--= clock-virt-240000 00 clk 4 [ ] fixed_clock | | | | |--= clock-virt-250000 00 clk 5 [ ] fixed_clock | | | | |--= clock-virt-260000 00 clk 6 [ ] fixed_clock | | | | |--= clock-tclkin clk 7 [ ] fixed_factor_clock | | | | |--= clock-dpll-ddr-m2 -div2 clk 8 [ ] fixed_factor_clock | | | | |--= clock-dpll-per-m2 -div4-wkupdm clk 9 [ ] fixed_factor_clock | | | | |--= clock-dpll-per-m2 -div4 clk 10 [ ] fixed_factor_clock | | | | |--= clock-clk-24mhz clk 11 [ ] fixed_factor_clock | | | | |--= clock-clkdiv32k clk 12 [ ] fixed_factor_clock | | | | |--= clock-l3-gclk clk 13 [ ] fixed_factor_clock | | | | |--= clock-dpll-core-m 4-div2 clk 14 [ ] fixed_factor_clock | | | | |--= clock-l4-rtc-gclk clk 15 [ ] fixed_factor_clock | | | | |--= clock-l4hs-gclk clk 16 [ ] fixed_factor_clock | | | | |--= clock-l3s-gclk clk 17 [ ] fixed_factor_clock | | | | |--= clock-l4fw-gclk clk 18 [ ] fixed_factor_clock | | | | |--= clock-l4ls-gclk clk 19 [ ] fixed_factor_clock | | | | |--= clock-sysclk-div clk 20 [ ] fixed_factor_clock | | | | |--= clock-cpsw-125mhz -gclk clk 21 [ ] fixed_factor_clock | | | | `--= clock-mmc simple_bus 8 [ ] ti_omap4_cm | | | |-- clo= ck@0 clk 22 [ ] ti_ctrl_clk | | | | |--= clock@38 clk 23 [ ] ti_ctrl_clk | | | | |--= clock@1c clk 24 [ ] ti_ctrl_clk | | | | |--= clock@24 clk 25 [ ] ti_ctrl_clk | | | | |--= clock@120 clk 26 [ ] ti_ctrl_clk | | | | |--= clock@e8 clk 27 [ ] ti_ctrl_clk | | | | |--= clock@0 clk 28 [ ] ti_ctrl_clk | | | | |--= clock@18 clk 29 [ ] ti_ctrl_clk | | | | |--= clock@14c clk 30 [ ] ti_ctrl_clk | | | | |--= clock@38 clk 31 [ ] ti_ctrl_clk | | | | |--= clock@1c clk 32 [ ] ti_ctrl_clk | | | | |--= clock@24 clk 33 [ ] ti_ctrl_clk | | | | |--= clock@120 clk 34 [ ] ti_ctrl_clk | | | | |--= clock@e8 clk 35 [ ] ti_ctrl_clk | | | | |--= clock@0 clk 36 [ ] ti_ctrl_clk | | | | |--= clock@18 clk 37 [ ] ti_ctrl_clk | | | | `--= clock@14c simple_bus 9 [ + ] ti_omap4_cm | | | |-- clo= ck@400 clk 38 [ + ] ti_ctrl_clk | | | | |--= clock@0 clk 39 [ ] ti_ctrl_clk | | | | |--= clock@14 clk 40 [ ] ti_ctrl_clk | | | | |--= clock@b0 clk 41 [ ] ti_ctrl_clk | | | | |--= clock@0 clk 42 [ ] ti_ctrl_clk | | | | |--= clock@14 clk 43 [ ] ti_ctrl_clk | | | | `--= clock@b0 simple_bus 10 [ ] ti_omap4_cm | | | |-- clo= ck@600 clk 44 [ ] ti_ctrl_clk | | | | |--= clock@0 clk 45 [ ] ti_ctrl_clk | | | | `--= clock@0 simple_bus 11 [ ] ti_omap4_cm | | | |-- clo= ck@800 clk 46 [ ] ti_ctrl_clk | | | | |--= clock@0 clk 47 [ ] ti_ctrl_clk | | | | `--= clock@0 simple_bus 12 [ ] ti_omap4_cm | | | |-- clo= ck@900 clk 48 [ ] ti_ctrl_clk | | | | |--= clock@0 clk 49 [ ] ti_ctrl_clk | | | | `--= clock@0 simple_bus 13 [ ] ti_omap4_cm | | | `-- clo= ck@a00 clk 50 [ ] ti_ctrl_clk | | | |--= clock@0 clk 51 [ ] ti_ctrl_clk | | | `--= clock@0 simple_bus 14 [ + ] ti_sysc | | |-- target-modu= le@7000 gpio 0 [ + ] gpio_omap | | | `-- gpio@0 simple_bus 15 [ + ] ti_sysc | | |-- target-modu= le@9000 serial 0 [ + ] omap_serial | | | `-- serial@0 simple_bus 16 [ ] ti_sysc | | |-- target-modu= le@b000 simple_bus 17 [ ] ti_sysc | | |-- target-modu= le@d000 simple_bus 18 [ ] ti_sysc | | |-- target-modu= le@10000 simple_bus 19 [ ] simple_bus | | | `-- scm@0 simple_bus 20 [ ] simple_bus | | | `-- scm= _conf@0 simple_bus 21 [ ] simple_bus | | | `--= clocks clk 52 [ ] fixed_factor_clock | | | = |-- clock-adc-tsc -fck clk 53 [ ] fixed_factor_clock | | | = |-- clock-dcan0-f ck clk 54 [ ] fixed_factor_clock | | | = |-- clock-dcan1-f ck clk 55 [ ] fixed_factor_clock | | | = |-- clock-mcasp0- fck clk 56 [ ] fixed_factor_clock | | | = |-- clock-mcasp1- fck clk 57 [ ] fixed_factor_clock | | | = |-- clock-smartre flex0-fck clk 58 [ ] fixed_factor_clock | | | = |-- clock-smartre flex1-fck clk 59 [ ] fixed_factor_clock | | | = |-- clock-sha0-fc k clk 60 [ ] fixed_factor_clock | | | = |-- clock-aes0-fc k clk 61 [ ] fixed_factor_clock | | | = `-- clock-rng-fck simple_bus 22 [ ] ti_sysc | | |-- target-modu= le@35000 simple_bus 23 [ ] ti_sysc | | `-- target-modu= le@3e000 simple_bus 24 [ ] simple_bus | |-- interconnect@480000= 00 simple_bus 25 [ ] simple_bus | | |-- segment@0 simple_bus 26 [ ] ti_sysc | | | |-- target-modu= le@22000 simple_bus 27 [ ] ti_sysc | | | |-- target-modu= le@24000 simple_bus 28 [ ] ti_sysc | | | |-- target-modu= le@2a000 simple_bus 29 [ ] ti_sysc | | | |-- target-modu= le@30000 simple_bus 30 [ ] ti_sysc | | | |-- target-modu= le@38000 simple_bus 31 [ ] ti_sysc | | | |-- target-modu= le@3c000 simple_bus 32 [ ] ti_sysc | | | |-- target-modu= le@4c000 gpio 1 [ ] gpio_omap | | | | `-- gpio@0 simple_bus 33 [ ] ti_sysc | | | |-- target-modu= le@60000 simple_bus 34 [ ] ti_sysc | | | |-- target-modu= le@80000 simple_bus 35 [ ] ti_sysc | | | |-- target-modu= le@c8000 simple_bus 36 [ ] ti_sysc | | | `-- target-modu= le@ca000 simple_bus 37 [ ] simple_bus | | |-- segment@100000 simple_bus 38 [ ] ti_sysc | | | |-- target-modu= le@9c000 simple_bus 39 [ ] ti_sysc | | | |-- target-modu= le@a0000 simple_bus 40 [ ] ti_sysc | | | |-- target-modu= le@a6000 simple_bus 41 [ ] ti_sysc | | | |-- target-modu= le@a8000 simple_bus 42 [ ] ti_sysc | | | |-- target-modu= le@aa000 simple_bus 43 [ ] ti_sysc | | | |-- target-modu= le@ac000 gpio 2 [ ] gpio_omap | | | | `-- gpio@0 simple_bus 44 [ ] ti_sysc | | | |-- target-modu= le@ae000 gpio 3 [ ] gpio_omap | | | | `-- gpio@0 simple_bus 45 [ ] ti_sysc | | | |-- target-modu= le@cc000 simple_bus 46 [ ] ti_sysc | | | |-- target-modu= le@d0000 simple_bus 47 [ ] ti_sysc | | | `-- target-modu= le@d8000 simple_bus 48 [ ] simple_bus | | |-- segment@200000 simple_bus 49 [ ] simple_bus | | `-- segment@300000 simple_bus 50 [ ] ti_sysc | | |-- target-modu= le@0 simple_bus 51 [ ] ti_sysc | | |-- target-modu= le@2000 simple_bus 52 [ ] ti_sysc | | |-- target-modu= le@4000 simple_bus 53 [ ] ti_sysc | | |-- target-modu= le@e000 simple_bus 54 [ ] ti_sysc | | `-- target-modu= le@10000 simple_bus 55 [ ] simple_bus | |-- interconnect@47c000= 00 simple_bus 56 [ ] simple_bus | | `-- segment@0 simple_bus 57 [ ] simple_bus | |-- interconnect@4a0000= 00 simple_bus 58 [ ] simple_bus | | `-- segment@0 simple_bus 59 [ ] ti_sysc | | `-- target-modu= le@100000 simple_bus 60 [ ] simple_bus | |-- interconnect@4b1400= 00 simple_bus 61 [ ] simple_bus | | `-- segment@0 simple_bus 62 [ ] ti_sysc | |-- target-module@49000= 000 simple_bus 63 [ ] ti_sysc | |-- target-module@49800= 000 simple_bus 64 [ ] ti_sysc | |-- target-module@49900= 000 simple_bus 65 [ ] ti_sysc | |-- target-module@49a00= 000 simple_bus 66 [ ] ti_sysc | |-- target-module@47810= 000 i2c 0 [ ] i2c_omap | |-- i2c@44e0b000 pmic 0 [ ] tps65217 pmic | | `-- tps@24 i2c 1 [ ] i2c_omap | |-- i2c@4819c000 mmc 0 [ + ] omap_hsmmc | |-- mmc@48060000 blk 0 [ ] mmc_blk | | |-- mmc@48060000.blk bootdev 0 [ ] mmc_bootdev | | `-- mmc@48060000.bo= otdev mmc 1 [ + ] omap_hsmmc | |-- mmc@481d8000 blk 1 [ + ] mmc_blk | | |-- mmc@481d8000.blk partition 0 [ + ] blk_partition | | | `-- mmc@481d800= 0.blk:1 bootdev 1 [ ] mmc_bootdev | | `-- mmc@481d8000.bo= otdev watchdog 0 [ + ] omap3_wdt | |-- wdt@44e35000 misc 0 [ + ] ti-musb-wrapper | |-- usb@47400000 usb 0 [ ] ti-musb-host | | `-- usb@47401800 ethernet 0 [ + ] eth_cpsw | |-- ethernet@4a100000 bootdev 2 [ ] eth_bootdev | | `-- ethernet@4a1000= 00.bootdev simple_bus 67 [ ] ti_sysc | |-- target-module@53100= 000 simple_bus 68 [ ] ti_sysc | |-- target-module@53500= 000 simple_bus 69 [ ] ti_sysc | `-- target-module@56000= 000 clk 62 [ ] fixed_clock |-- clk_mcasp0_fixed bootstd 0 [ ] bootstd_drv |-- bootstd bootmeth 0 [ ] bootmeth_efi | |-- efi bootmeth 1 [ ] bootmeth_extlinux | |-- extlinux bootmeth 2 [ ] bootmeth_pxe | |-- pxe bootmeth 3 [ ] vbe_simple | `-- vbe_simple timer 0 [ + ] omap_timer `-- timer@0 Thanks, Miqu=C3=A8l