summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts
AgeCommit message (Collapse)Author
2015-11-17ARM: sun7i: dt: Enable audio codec on pcDuino V3 NanoAdam Sampson
The pcDuino V3 Nano has a 3.5mm TRRS jack socket for audio, using the CTIA standard pinout, connected to HPOUTL, HPOUTR, HPCOM/HPCOMFB and MICIN1/VMIC (via appropriate RC networks) on the A20. The PH00 GPIO is wired for headphone plug detection: it reads 0 when nothing's plugged in, and 1 when a plug is inserted. LINEINL/R and FMINL/R are not connected. Signed-off-by: Adam Sampson <ats@offog.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2015-10-19ARM: dts: sun7i: Enable USB DRC on pcDuino v3 NanoAdam Sampson
The OTG arrangement on the LinkSprite pcDuino v3 Nano is the same as the pcDuino 1/2/3: the OTG port's 5V line is connected directly to the 5V bus (it's not switchable), and the OTG port's ID pin is connected to PH4 on the A20. Tested successfully in both host and device modes. Signed-off-by: Adam Sampson <ats@offog.org> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2015-10-13ARM: dts: sun7i: Add regulator configuration for pcDuino v3 NanoAdam Sampson
The power configuration on this board is the same as the pcDuino v3. This will enable frequency/voltage scaling over the standard A20 operating points from 144 MHz to 960 MHz. Tested using cpufreq-ljt-stress-test on two pcDuino v3 Nano boards; also tested successfully with voltages reduced by 0.025 V. Signed-off-by: Adam Sampson <ats@offog.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2015-10-11ARM: dts: sun7i: Correct USB regulators on pcDuino v3 NanoAdam Sampson
The LinkSprite pcDuino v3 Nano's two USB host ports are powered by a single RT9701GB regulator, which has its enable input tied to the A20's PD2 pin, pulled up to 3v3 via a 10k resistor. However, the script.bin that shipped with the device listed PH11 and PH3 as Vbus control pins for the two USB ports. Neither of these are actually connected to anything. Siarhei Siamashka spotted this problem while reviewing the other LinkSprite boards. This patch fixes it by only defining a single regulator, controlled by PD2. Testing shows that the USB ports are now (correctly) only powered up once the USB PHY driver is loaded. Reported-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> Signed-off-by: Adam Sampson <ats@offog.org> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2015-05-10ARM: sunxi: dt: Remove the FSF addressMaxime Ripard
The FSF address triggers a warning on checkpatch, saying that the FSF license is already present in the Linux source code, and that it has already changed in the past. Remove it from our DT, as suggested. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2015-05-02ARM: sunxi: dts: split IR pins for A10 and A20Marcus Cooper
Currently none of the target boards nor the driver supports IR TX. However this pin is used in a few instances as a GPIO. Split the pin ctrl descriptions so that only the IR RX is configured to be used. Signed-off-by: Marcus Cooper <codekipper@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2015-04-27ARM: sunxi: DT: Add stdout-path propertyMaxime Ripard
Add UART aliases and stdout-path property for all the Allwinner boards so that we won't have to rely on the bootargs' console= value, while working with legacy bootloaders. While we're at it, also remove the mentions of earlyprintk in the bootargs, that will remove our default bootargs entirely, and allow the kernel to boot on a system even if DEBUG_LL is configured for another system. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2015-04-27ARM: dts: sun7i: Add dts file for pcDuino 3 Nano boardAdam Sampson
Add support for the LinkSprite pcDuino 3 Nano board. This is a low-cost Allwinner A20 board with Arduino-style GPIO headers; it features 1G RAM, 4G NAND flash, 1 micro-SD, 2 USB sockets, 1 micro USB socket for OTG and another for power in, HDMI, SATA, 5V power for SATA devices, gigabit Ethernet, an IR receiver, 3.5mm audio out and a MIPI camera connector. For more details, see: http://linux-sunxi.org/LinkSprite_pcDuino3_Nano Changes in v3: - rename LEDs to pcduino3-nano:green:usr[12] - remove optional features on Arduino headers (i2c2, spi0, uart2) Signed-off-by: Adam Sampson <ats@offog.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>