Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-04-28 Thread Lubomir Rintel
On Thu, 2016-04-28 at 18:26 +0200, Stefan Wahren wrote: > Hi Olivier > > Am 28.04.2016 um 14:52 schrieb Olivier Blin: > > > > Stephen Warren writes: > > > > > > > > On 02/04/2016 12:36 AM, Lubomir Rintel wrote: > > > > > > > > The hub and the ethernet in its port 1 are

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-04-28 Thread Lubomir Rintel
On Thu, 2016-04-28 at 18:26 +0200, Stefan Wahren wrote: > Hi Olivier > > Am 28.04.2016 um 14:52 schrieb Olivier Blin: > > > > Stephen Warren writes: > > > > > > > > On 02/04/2016 12:36 AM, Lubomir Rintel wrote: > > > > > > > > The hub and the ethernet in its port 1 are hardwired on the > > >

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-04-28 Thread Stefan Wahren
Hi Olivier Am 28.04.2016 um 14:52 schrieb Olivier Blin: > Stephen Warren writes: > >> On 02/04/2016 12:36 AM, Lubomir Rintel wrote: >>> The hub and the ethernet in its port 1 are hardwired on the board. >>> >>> Compared to the adapters that can be plugged into the USB

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-04-28 Thread Stefan Wahren
Hi Olivier Am 28.04.2016 um 14:52 schrieb Olivier Blin: > Stephen Warren writes: > >> On 02/04/2016 12:36 AM, Lubomir Rintel wrote: >>> The hub and the ethernet in its port 1 are hardwired on the board. >>> >>> Compared to the adapters that can be plugged into the USB ports, this >>> one has no

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-04-28 Thread Olivier Blin
Stephen Warren writes: > On 02/04/2016 12:36 AM, Lubomir Rintel wrote: >> The hub and the ethernet in its port 1 are hardwired on the board. >> >> Compared to the adapters that can be plugged into the USB ports, this >> one has no serial EEPROM to store its MAC.

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-04-28 Thread Olivier Blin
Stephen Warren writes: > On 02/04/2016 12:36 AM, Lubomir Rintel wrote: >> The hub and the ethernet in its port 1 are hardwired on the board. >> >> Compared to the adapters that can be plugged into the USB ports, this >> one has no serial EEPROM to store its MAC. Nevertheless, the Raspberry Pi

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-02-05 Thread Stephen Warren
On 02/04/2016 12:36 AM, Lubomir Rintel wrote: > The hub and the ethernet in its port 1 are hardwired on the board. > > Compared to the adapters that can be plugged into the USB ports, this > one has no serial EEPROM to store its MAC. Nevertheless, the Raspberry Pi > has the MAC address for this

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-02-05 Thread Olivier Blin
Lubomir Rintel writes: >> Though, I am not really DT-literate, but shouldn't the ethernet block >> use the PID from the ethernet device? >> The usbether device is 9514 on RPi2, while ec00 is the hub. > > Are you sure? I didn't check on RPi2, but I check the Models B and B+ > and the ethernet

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-02-05 Thread Lubomir Rintel
Hi Olivier, On Fri, 2016-02-05 at 15:25 +0100, Olivier Blin wrote: > Lubomir Rintel writes: > > > diff --git a/arch/arm/boot/dts/bcm2836-rpi-2-b.dts > > b/arch/arm/boot/dts/bcm2836-rpi-2-b.dts > [...] > > @@ -33,3 +37,17 @@ > >   brcm,function = ; > >   }; > >  }; > > + > > + { > >

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-02-05 Thread Olivier Blin
Lubomir Rintel writes: > diff --git a/arch/arm/boot/dts/bcm2836-rpi-2-b.dts > b/arch/arm/boot/dts/bcm2836-rpi-2-b.dts [...] > @@ -33,3 +37,17 @@ > brcm,function = ; > }; > }; > + > + { > + usb1@1 { > + compatible = "usb0424,9514"; > + reg = <01>;

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-02-05 Thread Lubomir Rintel
Hi Olivier, On Fri, 2016-02-05 at 15:25 +0100, Olivier Blin wrote: > Lubomir Rintel writes: > > > diff --git a/arch/arm/boot/dts/bcm2836-rpi-2-b.dts > > b/arch/arm/boot/dts/bcm2836-rpi-2-b.dts > [...] > > @@ -33,3 +37,17 @@ > >   brcm,function = ; > >   }; > >  }; >

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-02-05 Thread Olivier Blin
Lubomir Rintel writes: >> Though, I am not really DT-literate, but shouldn't the ethernet block >> use the PID from the ethernet device? >> The usbether device is 9514 on RPi2, while ec00 is the hub. > > Are you sure? I didn't check on RPi2, but I check the Models B and B+ > and

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-02-05 Thread Olivier Blin
Lubomir Rintel writes: > diff --git a/arch/arm/boot/dts/bcm2836-rpi-2-b.dts > b/arch/arm/boot/dts/bcm2836-rpi-2-b.dts [...] > @@ -33,3 +37,17 @@ > brcm,function = ; > }; > }; > + > + { > + usb1@1 { > + compatible = "usb0424,9514"; > +

Re: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-02-05 Thread Stephen Warren
On 02/04/2016 12:36 AM, Lubomir Rintel wrote: > The hub and the ethernet in its port 1 are hardwired on the board. > > Compared to the adapters that can be plugged into the USB ports, this > one has no serial EEPROM to store its MAC. Nevertheless, the Raspberry Pi > has the MAC address for this

RE: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-02-04 Thread Peter Chen
> > The hub and the ethernet in its port 1 are hardwired on the board. > > Compared to the adapters that can be plugged into the USB ports, this one has > no serial EEPROM to store its MAC. Nevertheless, the Raspberry Pi has the > MAC address for this adapter in its ROM, accessible from its

RE: [PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-02-04 Thread Peter Chen
> > The hub and the ethernet in its port 1 are hardwired on the board. > > Compared to the adapters that can be plugged into the USB ports, this one has > no serial EEPROM to store its MAC. Nevertheless, the Raspberry Pi has the > MAC address for this adapter in its ROM, accessible from its

[PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-02-03 Thread Lubomir Rintel
The hub and the ethernet in its port 1 are hardwired on the board. Compared to the adapters that can be plugged into the USB ports, this one has no serial EEPROM to store its MAC. Nevertheless, the Raspberry Pi has the MAC address for this adapter in its ROM, accessible from its firmware. U-Boot

[PATCH v2 1/2] ARM: bcm2835: dt: Add the ethernet to the device trees

2016-02-03 Thread Lubomir Rintel
The hub and the ethernet in its port 1 are hardwired on the board. Compared to the adapters that can be plugged into the USB ports, this one has no serial EEPROM to store its MAC. Nevertheless, the Raspberry Pi has the MAC address for this adapter in its ROM, accessible from its firmware. U-Boot