What are the files that correspond to the Device Tree in the RTEMS-libBSD?
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Sep 19 05:43:43 UTC 2017
On 18/09/17 13:36, mfg wrote:
> Hello all,
>
> I have a question related to the email previously sent by Moritz.
>
> Actually I'm working with a board similar to zc702 board.
>
> My question is:
>
> If we have a device tree, it is easy to see which is the register is
> being used, for example in Zedboard's DT:
Currently, this BSP doesn't use/support the FDT.
>
>
> phy at 0 {
> compatible = "marvell,88e1510";
> device_type = "ethernet-phy";
> reg = <0x0>;
> marvell,reg-init = <0x3 0x10 0xff00 0x1e 0x3 0x11
> 0xfff0 0xa>;
> linux,phandle = <0x4>;
> phandle = <0x4>;
> };
>
> The PHY register for MDIO is the 0x0.
>
> In RTEMS, Which file I have to touch for change this? I mean if I
> want to use the 0x2 instead 0x0 or, for example, if I wanted to add
> another ethernet interface.
The FDT is usually provided by the boot procedure (U-Boot commands) and
stored somewhere on the board, e.g. EEPROM, flash or SD/MMC card.
>
> I've only worked with DT and I'm not sure how to change it in
> RTEMS-libBSD.
>
>
> Thanks in advance.
>
> Marco Fuentes García.
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the users
mailing list