Commit Graph

17416 Commits

Author SHA1 Message Date
Grygorii Strashko
7c0373b16f ARM: dts: am437x-sk-evm: get rid of phy_id property
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-20 14:41:54 -07:00
Grygorii Strashko
5925ae2354 ARM: dts: am43x-epos-evm: get rid of phy_id property
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-20 14:41:49 -07:00
Grygorii Strashko
4d8b032d3c ARM: dts: am335x-bone-common: get rid of phy_id property
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-20 14:36:52 -07:00
Grygorii Strashko
8cd1cc3f7c ARM: dts: am335x-chiliboard: get rid of phy_id property
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-20 14:36:47 -07:00
Grygorii Strashko
0d175556e2 ARM: dts: am335x-cm-t335: get rid of phy_id property
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-20 14:36:42 -07:00
Grygorii Strashko
53c2c22b8c ARM: dts: am335x-evmsk: get rid of phy_id property
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-20 14:36:37 -07:00
Grygorii Strashko
d9312570d5 ARM: dts: am335x-igep0033: get rid of phy_id property
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-20 14:36:33 -07:00
Grygorii Strashko
5ec73320ab ARM: dts: am335x-lxm: get rid of phy_id property
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-20 14:36:28 -07:00
Grygorii Strashko
5ef346bb80 ARM: dts: am335x-moxa-uc-8100-me-t: get rid of phy_id property
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-20 14:36:23 -07:00
Grygorii Strashko
25245c44d4 ARM: dts: am335x-nano: get rid of phy_id property
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-20 14:36:18 -07:00
Grygorii Strashko
4f9584518f ARM: dts: am335x-pdu001: get rid of phy_id property
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-20 14:36:13 -07:00
Grygorii Strashko
9e19b4bd01 ARM: dts: am335x-pepper: get rid of phy_id property
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-20 14:36:07 -07:00
Grygorii Strashko
769de05b2a ARM: dts: am335x-shc: get rid of phy_id property
The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-20 14:33:11 -07:00
Tony Lindgren
0f6e0ed00b Merge branch 'am335x-evm-port-fix' into omap-for-v4.20/dt 2018-09-20 14:30:45 -07:00
Grygorii Strashko
dcbf6b18d8 ARM: dts: am335x-evm: fix number of cpsw
am335x-evm has only one CPSW external port physically wired, but DT defines
2 ext. ports. As result, PHY connection failure reported for the second
ext. port.

Update DT to reflect am335x-evm board HW configuration, and, while here,
switch to use phy-handle instead of phy_id.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-20 14:30:03 -07:00
Andrew F. Davis
6b63967a61 ARM: dts: am571x-idk: Add Industrial input load trigger
The SN65HVS882 load trigger is attached to GPIO2_23 on the AM571x IDK.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:29:36 -07:00
Andrew F. Davis
99f4855923 ARM: dts: am572x-idk: Add tricolor Industrial LED support
AM572x-IDK rev 1.3A has tricolor RGB LEDs that can be controlled using
GPIO. Expose these to userspace for usage as necessary.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:29:32 -07:00
Andrew F. Davis
d71fef3c75 ARM: dts: am571x-idk: Add tricolor Industrial LED support
AM571x-IDK rev 1.2A has tricolor RGB LEDs that can be controlled using
GPIO. Expose these to userspace for usage as necessary.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:29:24 -07:00
H. Nikolaus Schaller
d2eaf949d2 ARM: dts: omap3-gta04a5one: define GTA04A5 variant with OneNAND
GTA04A5 has been produced with MCP chips either with
 512MB RAM +  512MB NAND
 512MB RAM + 1024MB NAND
1024MB RAM +  512MB OneNAND

RAM setup is done by U-Boot (MLO/SPL) but OneNAND needs
a different setup of the GPMC. So we need to derive a
DTB variant that modifies the gpmc and nand setup.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:11:06 -07:00
H. Nikolaus Schaller
2b5633eb86 ARM: dts: omap3-gta04a5: define pinmux for bluetooth enable of ti,wl1837 module
Properly pinmux the bluetooth enable so that it is not floating.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:11:05 -07:00
H. Nikolaus Schaller
806c99ed78 ARM: dts: omap3-gta04a5: uses different sensors than gta04a4
Sensors for acceleration, rotation, magnetic heading and
barometer have been replaced in the A5 variant.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:11:05 -07:00
H. Nikolaus Schaller
61fedc14b6 ARM: dts: omap3-gta04a5: add support for ti,wl1837 module
GTA04A5 uses a ti,wl1837 WiFi/Bluetooth module. Overwrite
the mmc2 node and child.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:11:04 -07:00
H. Nikolaus Schaller
43541bfa4c ARM: dts: omap3-gta04a5: disable IrDA receiver to save power
The GTA04A5 has an improved IrDA circuit that can enable/disable
the receiver individually. We do not have an IrDA driver/subsystem
and hence the receiver should be actively turned off to save power,
especially in suspend.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:11:03 -07:00
H. Nikolaus Schaller
4440f94d06 ARM: dts: omap3-gta04a5: add support for PPS
GPS receiver provides a 1PPS signal to a gpio.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:11:03 -07:00
H. Nikolaus Schaller
3bace6a401 ARM: dts: omap3-gta04a5: fix whitepsace and tab style
in node sound / property ti,jack-det-gpio.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:11:02 -07:00
H. Nikolaus Schaller
acdf6035a8 ARM: dts: omap3-gta04a5: fix model name
GTA04 is the project name and Letux 2804 the product name.
Report both.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:11:02 -07:00
H. Nikolaus Schaller
b918bba089 ARM: dts: omap3-gta04a5: fix copyright of A5 variant
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:11:01 -07:00
H. Nikolaus Schaller
18c7bd3204 ARM: dts: omap3-gta04a4: fix model name for A4 variant
GTA04 is the project name and Letux 2804 the product name.
Report both.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:11:00 -07:00
H. Nikolaus Schaller
2719623ea7 ARM: dts: omap3-gta04a3: fix model name for A3 variant
GTA04 is the project name and Letux 2804 the product name.
Report both.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:11:00 -07:00
H. Nikolaus Schaller
2cc86a4705 ARM: dts: omap3-gta04: add mcbsp (audio subsystem) nodes
GTA04 audio system makes use of all four McBSP ports, so enable and
connect them with pinmux.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:59 -07:00
H. Nikolaus Schaller
f5f15be141 ARM: dts: omap3-gta04: add devconf0 setup for mcbsp1 clock pins
McBSP1 needs special "pinctrl" for the clocks.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:58 -07:00
H. Nikolaus Schaller
3c10507a39 ARM: dts: omap3-gta04: add mcbsp (audio subsystem) pinmux
GTA04 audio system makes use of all four McBSP ports, so set
up proper pinmux.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:58 -07:00
H. Nikolaus Schaller
8f69850f04 ARM: dts: omap3-gta04: add camera pinmux
ISP needs camera pinmux (which is referenced by the camera node).

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:57 -07:00
H. Nikolaus Schaller
f2b710826f ARM: dts: omap3-gta04: add camera interface parallel port
The GTA04 has an optional OV9655 camera (for which we do
not yet have a driver upstream), but the ISP hardware
connection description in the device tree is independent
of that.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:57 -07:00
H. Nikolaus Schaller
eaf2dbd0d2 ARM: dts: omap3-gta04: map antenna detect GPIO to SW_LINEIN_INSERT key event
GTA04 can detect presence/absence or plug-in of an external
GPS antenna through a gpio. The best match for an event code
is SW_LINEIN_INSERT.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:56 -07:00
H. Nikolaus Schaller
39b1c4944f ARM: dts: omap3-gta04: make use of input event include file and constants
we can replace magic numbers by symbolic constants now.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:55 -07:00
H. Nikolaus Schaller
f38bb4e9ec ARM: dts: omap3-gta04: explicitly describe that mmc1 has no CD/WP
There are neither CD nor WP switches for mmc1. The µSD slot is
located under the SIM card under the battery and not accessible
during operation.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:55 -07:00
H. Nikolaus Schaller
d2c4c27035 ARM: dts: omap3-gta04: add warning comment to vaux2 regulator
vaux2 should remain always on since a higher potential at vio
could potentially damage the itg3200 sensor.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:54 -07:00
H. Nikolaus Schaller
ebd4fc999e ARM: dts: omap3-gta04: add a comment how to reference the tca6507 gpio
Make clear how to use the wifi_reset since it is not obvious.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:54 -07:00
H. Nikolaus Schaller
1ae00833e3 ARM: dts: omap3-gta04: keep vpll2 always on
This is needed to make the display and venc work properly.
Compare to omap3-beagle.dts.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:53 -07:00
H. Nikolaus Schaller
f22a9e64c3 ARM: dts: omap3-gta04: update gpmc NAND setup
to better match omap3-beagle.dts (which was the basis
of designing the GTA04).

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:52 -07:00
H. Nikolaus Schaller
fa99c21ecb ARM: dts: omap3-gta04: make NAND partitions compatible with recent U-Boot
Vendor defined U-Boot has changed the partition scheme a while ago:

* kernel partition 6MB
* file system partition uses the remainder up to end of the NAND
* increased size of the environment partition (to get an OneNAND compatible base address)
* shrink the U-Boot partition

Let's be compatible (e.g. Debian kernel built from upstream).

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:52 -07:00
H. Nikolaus Schaller
5d282d3f2f ARM: dts: omap3-gta04: add pinmux for bmp085 EOC interrupt
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:51 -07:00
H. Nikolaus Schaller
7384a24248 ARM: dts: omap3-gta04: fix touchscreen tsc2007
we fix penirq polarity, add penirq pinmux and touchscreen
properties.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:50 -07:00
H. Nikolaus Schaller
8905592b6e ARM: dts: omap3-gta04: tvout: enable as display1 alias
The omap dss susbystem takes the display aliases to find
out which displays exist. To enable tv-out we must define
an alias.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:50 -07:00
H. Nikolaus Schaller
e08962dff1 ARM: dts: omap3-gta04: add devconf1 setup for correct tvout pins
The VENC with external OPA362 amplifier needs a special
"pinmux" setup in DEVCONF1 (TVOUTBYPASS and TVOUTACEN).

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:49 -07:00
H. Nikolaus Schaller
f659139137 ARM: dts: omap3-gta04: fixes for tvout / venc
* fix connector compatibility (composite)
* add comment for gpio1 23
* add proper #address-cells
* we use only one venc_out channel for composite

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:49 -07:00
H. Nikolaus Schaller
fa0d7dc355 ARM: dts: omap3-gta04: give spi_lcd node a label so that we can overwrite in other DTS files
needed for device variants based on GTA04 board but with
different display panel (driver).

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:48 -07:00
H. Nikolaus Schaller
eef69561c6 ARM: dts: omap3-gta04: fix some whitespace and tab style errors
tab+space -> tab only	 for /* GSM audio */
spaces -> tab for dss_dpi_pins

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:47 -07:00
H. Nikolaus Schaller
85ca3d04c0 ARM: dts: omap3-gta04: fix typo in backlight pins node name
mn -> nm for backlight_pins

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-09-07 10:10:47 -07:00