Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1326473

RE: [PATCH 2/2] ARM: bcm2835: dt: Add the ethernet to the device tree

From Peter Chen <peter.chen@nxp.com>
Newsgroups linux.kernel
Subject RE: [PATCH 2/2] ARM: bcm2835: dt: Add the ethernet to the device tree
Date 2016-02-04 09:10 +0100
Message-ID <qYmmS-5oa-15@gated-at.bofh.it> (permalink)
References <qY7ea-3y7-19@gated-at.bofh.it> <qY7ea-3y7-27@gated-at.bofh.it> <qYflo-yl-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


 
> Lubomir Rintel <lkundrak@v3.sk> writes:
> 
> > diff --git a/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
> > b/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
> > index ef54050..32bbd2a 100644
> > --- a/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
> > +++ b/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
> 
> Hi,
> 
> Shouldn't this be common to all RPi1 B and RPi2 models, instead of being
> specific to just RPi B+?
> 
> > +&usb {
> > +	usb1@01 {
> > +		compatible = "usb1d6b,0002";
> > +		reg = <01>;
> > +		#address-cells = <1>;
> > +		#size-cells = <0>;
> > +
> > +		ethernet: usbether@01 {
> > +			compatible = "usb0424,9514";
> > +			reg = <01>;
> > +		};
> > +	};
> > +};
> 
> For reference, on RPi2:

Using "lsusb -t" you may get bus topology.

> Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter

It is the ethernet device, you may need to change vid/pid in dts. 

> Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub

It is the hub device, you may need to change vid/pid in dts.

> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> 
 
It is root hub, it doesn't need to be described at dts.

Best regards,
Peter

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Set the Raspberry Pi Ethernet MAC address Lubomir Rintel <lkundrak@v3.sk> - 2016-02-03 16:10 +0100
  [PATCH 2/2] ARM: bcm2835: dt: Add the ethernet to the device tree Lubomir Rintel <lkundrak@v3.sk> - 2016-02-03 16:10 +0100
    Re: [PATCH 2/2] ARM: bcm2835: dt: Add the ethernet to the device  tree Lubomir Rintel <lkundrak@v3.sk> - 2016-02-03 16:20 +0100
    Re: [PATCH 2/2] ARM: bcm2835: dt: Add the ethernet to the device tree Stephen Warren <swarren@wwwdotorg.org> - 2016-02-03 17:20 +0100
      Re: [PATCH 2/2] ARM: bcm2835: dt: Add the ethernet to the device  tree Lubomir Rintel <lkundrak@v3.sk> - 2016-02-03 17:40 +0100
    Re: [PATCH 2/2] ARM: bcm2835: dt: Add the ethernet to the device tree Olivier Blin <dev@blino.org> - 2016-02-04 00:50 +0100
      Re: [PATCH 2/2] ARM: bcm2835: dt: Add the ethernet to the device  tree Lubomir Rintel <lkundrak@v3.sk> - 2016-02-04 08:20 +0100
      RE: [PATCH 2/2] ARM: bcm2835: dt: Add the ethernet to the device tree Peter Chen <peter.chen@nxp.com> - 2016-02-04 09:10 +0100

csiph-web