imx7d-pico has an ap6212 wifi chip connected to usdhc2 port.
Add support for the usdhc2 port and to the WL_REG_ON regulator
so Wifi can be functional on this board.
Signed-off-by: Vanessa Maegima <redacted>
---
Changes since v1:
- Fix bad identation.
- Remove unused pin MX7D_PAD_ECSPI1_SS0__GPIO4_IO19.
arch/arm/boot/dts/imx7d-pico.dts | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
From: Otavio Salvador <hidden> Date: 2017-10-31 18:11:18
On Fri, Aug 18, 2017 at 8:37 AM, Vanessa Maegima
[off-list ref] wrote:
imx7d-pico has an ap6212 wifi chip connected to usdhc2 port.
Add support for the usdhc2 port and to the WL_REG_ON regulator
so Wifi can be functional on this board.
Signed-off-by: Vanessa Maegima <redacted>
It seems the name of the dtb is misleading ... this dtb refers mostly
to the imx7d-pico-pi board no?
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Hi Otavio,
On Ter, 2017-10-31 at 16:11 -0200, Otavio Salvador wrote:
On Fri, Aug 18, 2017 at 8:37 AM, Vanessa Maegima
[off-list ref] wrote:
quoted
imx7d-pico has an ap6212 wifi chip connected to usdhc2 port.
Add support for the usdhc2 port and to the WL_REG_ON regulator
so Wifi can be functional on this board.
Signed-off-by: Vanessa Maegima <redacted>
It seems the name of the dtb is misleading ... this dtb refers mostly
to the imx7d-pico-pi board no?
Yes, this refers to the imx7d-pico-pi board. At the time I added this
support, I was not aware of the board variants as I had only the pico-
pi baseboard. I can work to separate this dts into SoM and baseboard
dts if you think this would be better, but I can only support pico-pi
as I do not have access to the other baseboards.
Best,
Vanessa
From: Otavio Salvador <hidden> Date: 2017-11-01 12:47:29
On Wed, Nov 1, 2017 at 10:38 AM, Vanessa Maegima
[off-list ref] wrote:
On Ter, 2017-10-31 at 16:11 -0200, Otavio Salvador wrote:
quoted
On Fri, Aug 18, 2017 at 8:37 AM, Vanessa Maegima
[off-list ref] wrote:
quoted
imx7d-pico has an ap6212 wifi chip connected to usdhc2 port.
Add support for the usdhc2 port and to the WL_REG_ON regulator
so Wifi can be functional on this board.
Signed-off-by: Vanessa Maegima <redacted>
It seems the name of the dtb is misleading ... this dtb refers mostly
to the imx7d-pico-pi board no?
Yes, this refers to the imx7d-pico-pi board. At the time I added this
support, I was not aware of the board variants as I had only the pico-
pi baseboard. I can work to separate this dts into SoM and baseboard
dts if you think this would be better, but I can only support pico-pi
as I do not have access to the other baseboards.
Agreed, splitting it makes sense.
I think we'd need to:
- rename imx7d-pico.dts to imx7d-pico.dtsi
- make a new imx7d-pico.dts to keep compatibility (Shawn is it need?)
- try to make a imx7d-pico-pi.dts that includes imx7d-pico.dtsi and
technexion-pico-pi.dtsi?
It allows for adding the imx6ul-pico-pi and also split hobit baseboard as well.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
From: John Weber <hidden> Date: 2017-11-01 17:24:52
On 11/1/17, 7:47 AM, "Otavio Salvador" [off-list ref] wrote:
On Wed, Nov 1, 2017 at 10:38 AM, Vanessa Maegima
[off-list ref] wrote:
> On Ter, 2017-10-31 at 16:11 -0200, Otavio Salvador wrote:
>> On Fri, Aug 18, 2017 at 8:37 AM, Vanessa Maegima
>> [off-list ref] wrote:
>> >
>> > imx7d-pico has an ap6212 wifi chip connected to usdhc2 port.
>> >
>> > Add support for the usdhc2 port and to the WL_REG_ON regulator
>> > so Wifi can be functional on this board.
>> >
>> > Signed-off-by: Vanessa Maegima [off-list ref]
>> It seems the name of the dtb is misleading ... this dtb refers mostly
>> to the imx7d-pico-pi board no?
>>
>
> Yes, this refers to the imx7d-pico-pi board. At the time I added this
> support, I was not aware of the board variants as I had only the pico-
> pi baseboard. I can work to separate this dts into SoM and baseboard
> dts if you think this would be better, but I can only support pico-pi
> as I do not have access to the other baseboards.
Agreed, splitting it makes sense.
I think we'd need to:
- rename imx7d-pico.dts to imx7d-pico.dtsi
- make a new imx7d-pico.dts to keep compatibility (Shawn is it need?)
- try to make a imx7d-pico-pi.dts that includes imx7d-pico.dtsi and
technexion-pico-pi.dtsi?
It allows for adding the imx6ul-pico-pi and also split hobit baseboard as well.
This is the way that it has been done in the TechNexion downstream kernel based on NXP?s 4.1.15 kernel:
For reference:
https://github.com/TechNexion/linux/tree/tn-imx_4.1.15_2.0.0_ga/arch/arm/boot/dts
We have split the baseboards out into .dtsi files with ?baseboard_pico_(pi,nymph,hobbit,dwarf).dtsi?
John