[LEDE-DEV] [PATCH 3/3] ramips-mt7621: add dts for UBNT-ERX-SFP

2017-05-03 Thread Sven Roederer
* use a copy and modify version of the UBNT-ERX for the UBNT-ERX-SFP * define i2c-gpio via DTS (Linux/Documentation/devicetree/bindings/i2c/i2c-gpio.txt) * also define PCA9555 for PoE-switching in DTS --- target/linux/ramips/dts/UBNT-ERX-SFP.dts | 121 +++ target/linu

Re: [LEDE-DEV] [PATCH 3/3] ramips-mt7621: add dts for UBNT-ERX-SFP

2017-05-05 Thread Mathias Kresin
2017-05-04 1:41 GMT+02:00 Sven Roederer : > * use a copy and modify version of the UBNT-ERX for the UBNT-ERX-SFP > * define i2c-gpio via DTS > (Linux/Documentation/devicetree/bindings/i2c/i2c-gpio.txt) > * also define PCA9555 for PoE-switching in DTS Please, make sure to add a proper SoB line as

Re: [LEDE-DEV] [PATCH 3/3] ramips-mt7621: add dts for UBNT-ERX-SFP

2017-05-05 Thread Sven Roederer
On Freitag, 5. Mai 2017 14:34:18 CEST Mathias Kresin wrote: > I haven't checked how similar the ubnt-erx and ubnt-erx-sfp device > tree source files are. But it might be more elegant to move stuff > which is the same between both boards to a dtsi, include the dtsi for > the ubnt-erx* and add all mi

Re: [LEDE-DEV] [PATCH 3/3] ramips-mt7621: add dts for UBNT-ERX-SFP

2017-05-06 Thread Sven Roederer
On Freitag, 5. Mai 2017 14:34:18 CEST Mathias Kresin wrote: > > +#include "mt7621.dtsi" > > + > > +/ { > > + model = "UBNT-ERX-SFP"; > > + > > + memory@0 { In some of the other dts-files I found the "compatible"-property. Which is not defined for this board. should I include somethin

Re: [LEDE-DEV] [PATCH 3/3] ramips-mt7621: add dts for UBNT-ERX-SFP

2017-05-06 Thread Mathias Kresin
06.05.2017 16:23, Sven Roederer: On Freitag, 5. Mai 2017 14:34:18 CEST Mathias Kresin wrote: +#include "mt7621.dtsi" + +/ { + model = "UBNT-ERX-SFP"; + + memory@0 { In some of the other dts-files I found the "compatible"-property. Which is not defined for this board. should I incl