Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
U-Boot
Custodians
NAND Flash U-Boot Custodian Tree
Commits
c6b968da
Commit
c6b968da
authored
Aug 26, 2016
by
Tom Rini
Browse files
Merge branch 'master' of
http://git.denx.de/u-boot-sunxi
parents
1cfce74f
d5ac6eef
Changes
70
Hide whitespace changes
Inline
Side-by-side
arch/arm/dts/Makefile
View file @
c6b968da
...
...
@@ -182,6 +182,7 @@ dtb-$(CONFIG_MACH_SUN5I) += \
sun5i-a13-ampe-a76.dtb
\
sun5i-a13-difrnce-dit4350.dtb
\
sun5i-a13-empire-electronix-d709.dtb
\
sun5i-a13-empire-electronix-m712.dtb
\
sun5i-a13-hsg-h702.dtb
\
sun5i-a13-inet-86vs.dtb
\
sun5i-a13-inet-98v-rev2.dtb
\
...
...
@@ -200,6 +201,7 @@ dtb-$(CONFIG_MACH_SUN6I) += \
sun6i-a31-mixtile-loftq.dtb
\
sun6i-a31s-colorfly-e708-q1.dtb
\
sun6i-a31s-cs908.dtb
\
sun6i-a31s-inet-q972.dtb
\
sun6i-a31s-primo81.dtb
\
sun6i-a31s-sina31s.dtb
\
sun6i-a31s-sinovoip-bpi-m2.dtb
\
...
...
@@ -207,6 +209,7 @@ dtb-$(CONFIG_MACH_SUN6I) += \
dtb-$(CONFIG_MACH_SUN7I)
+=
\
sun7i-a20-ainol-aw1.dtb
\
sun7i-a20-bananapi.dtb
\
sun7i-a20-bananapi-m1-plus.dtb
\
sun7i-a20-bananapro.dtb
\
sun7i-a20-cubieboard2.dtb
\
sun7i-a20-cubietruck.dtb
\
...
...
@@ -221,6 +224,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
sun7i-a20-olimex-som-evb.dtb
\
sun7i-a20-olinuxino-lime.dtb
\
sun7i-a20-olinuxino-lime2.dtb
\
sun7i-a20-olinuxino-lime2-emmc.dtb
\
sun7i-a20-olinuxino-micro.dtb
\
sun7i-a20-orangepi.dtb
\
sun7i-a20-orangepi-mini.dtb
\
...
...
@@ -247,6 +251,7 @@ dtb-$(CONFIG_MACH_SUN8I_A83T) += \
sun8i-a83t-cubietruck-plus.dtb
\
sun8i-a83t-sinovoip-bpi-m3.dtb
dtb-$(CONFIG_MACH_SUN8I_H3)
+=
\
sun8i-h3-bananapi-m2-plus.dtb
\
sun8i-h3-orangepi-2.dtb
\
sun8i-h3-orangepi-lite.dtb
\
sun8i-h3-orangepi-one.dtb
\
...
...
arch/arm/dts/axp209.dtsi
View file @
c6b968da
...
...
@@ -87,6 +87,7 @@
reg_ldo5: ldo5 {
regulator-name = "ldo5";
status = "disabled";
};
};
...
...
arch/arm/dts/axp809.dtsi
0 → 100644
View file @
c6b968da
/*
* Copyright 2015 Chen-Yu Tsai
*
* Chen-Yu Tsai <wens@csie.org>
*
* This file is dual-licensed: you can use it either under the terms
* of the GPL or the X11 license, at your option. Note that this dual
* licensing only applies to this file, and not this project as a
* whole.
*
* a) This file is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* Or, alternatively,
*
* b) Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/
/*
* AXP809 Integrated Power Management Chip
*/
&axp809 {
compatible = "x-powers,axp809";
interrupt-controller;
#interrupt-cells = <1>;
};
arch/arm/dts/sun4i-a10-a1000.dts
View file @
c6b968da
...
...
@@ -72,8 +72,9 @@
};
blue
{
label
=
"a1000:blue:
us
r"
;
label
=
"a1000:blue:
pw
r"
;
gpios
=
<&
pio
7
20
GPIO_ACTIVE_HIGH
>;
default
-
state
=
"on"
;
};
};
...
...
@@ -84,9 +85,28 @@
regulator
-
name
=
"emac-3v3"
;
regulator
-
min
-
microvolt
=
<
3300000
>;
regulator
-
max
-
microvolt
=
<
3300000
>;
startup
-
delay
-
us
=
<
20000
>;
enable
-
active
-
high
;
gpio
=
<&
pio
7
15
GPIO_ACTIVE_HIGH
>;
};
sound
{
compatible
=
"simple-audio-card"
;
simple
-
audio
-
card
,
name
=
"On-board SPDIF"
;
simple
-
audio
-
card
,
cpu
{
sound
-
dai
=
<&
spdif
>;
};
simple
-
audio
-
card
,
codec
{
sound
-
dai
=
<&
spdif_out
>;
};
};
spdif_out
:
spdif
-
out
{
#
sound
-
dai
-
cells
=
<
0
>;
compatible
=
"linux,spdif-dit"
;
};
};
&
ahci
{
...
...
@@ -188,6 +208,12 @@
status
=
"okay"
;
};
&
spdif
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
spdif_tx_pins_a
>;
status
=
"okay"
;
};
&
uart0
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
uart0_pins_a
>;
...
...
arch/arm/dts/sun4i-a10-hackberry.dts
View file @
c6b968da
...
...
@@ -66,6 +66,7 @@
regulator
-
name
=
"emac-3v3"
;
regulator
-
min
-
microvolt
=
<
3300000
>;
regulator
-
max
-
microvolt
=
<
3300000
>;
startup
-
delay
-
us
=
<
20000
>;
enable
-
active
-
high
;
gpio
=
<&
pio
7
19
GPIO_ACTIVE_HIGH
>;
};
...
...
arch/arm/dts/sun4i-a10-hyundai-a7hd.dts
View file @
c6b968da
...
...
@@ -87,6 +87,30 @@
status
=
"okay"
;
};
&
otg_sram
{
status
=
"okay"
;
};
&
pio
{
usb0_id_detect_pin
:
usb0_id_detect_pin
@
0
{
allwinner
,
pins
=
"PH4"
;
allwinner
,
function
=
"gpio_in"
;
allwinner
,
drive
=
<
SUN4I_PINCTRL_10_MA
>;
allwinner
,
pull
=
<
SUN4I_PINCTRL_PULL_UP
>;
};
usb0_vbus_detect_pin
:
usb0_vbus_detect_pin
@
0
{
allwinner
,
pins
=
"PH5"
;
allwinner
,
function
=
"gpio_in"
;
allwinner
,
drive
=
<
SUN4I_PINCTRL_10_MA
>;
allwinner
,
pull
=
<
SUN4I_PINCTRL_PULL_DOWN
>;
};
};
&
reg_usb0_vbus
{
status
=
"okay"
;
};
&
reg_usb2_vbus
{
gpio
=
<&
pio
7
6
GPIO_ACTIVE_HIGH
>;
/*
PH6
*/
status
=
"okay"
;
...
...
@@ -102,7 +126,17 @@
allwinner
,
pins
=
"PH6"
;
};
&
usb_otg
{
dr_mode
=
"otg"
;
status
=
"okay"
;
};
&
usbphy
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
usb0_id_detect_pin
>,
<&
usb0_vbus_detect_pin
>;
usb0_id_det
-
gpio
=
<&
pio
7
4
GPIO_ACTIVE_HIGH
>;
/*
PH4
*/
usb0_vbus_det
-
gpio
=
<&
pio
7
5
GPIO_ACTIVE_HIGH
>;
/*
PH5
*/
usb0_vbus
-
supply
=
<&
reg_usb0_vbus
>;
usb2_vbus
-
supply
=
<&
reg_usb2_vbus
>;
status
=
"okay"
;
};
arch/arm/dts/sun4i-a10-jesurun-q5.dts
View file @
c6b968da
...
...
@@ -80,6 +80,7 @@
regulator
-
name
=
"emac-3v3"
;
regulator
-
min
-
microvolt
=
<
3300000
>;
regulator
-
max
-
microvolt
=
<
3300000
>;
startup
-
delay
-
us
=
<
20000
>;
enable
-
active
-
high
;
gpio
=
<&
pio
7
19
GPIO_ACTIVE_HIGH
>;
/*
PH19
*/
};
...
...
arch/arm/dts/sun4i-a10.dtsi
View file @
c6b968da
...
...
@@ -65,8 +65,9 @@
compatible = "allwinner,simple-framebuffer",
"simple-framebuffer";
allwinner,pipeline = "de_be0-lcd0-hdmi";
clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
<&ahb_gates 44>, <&dram_gates 26>;
clocks = <&ahb_gates 36>, <&ahb_gates 43>,
<&ahb_gates 44>, <&de_be0_clk>,
<&tcon0_ch1_clk>, <&dram_gates 26>;
status = "disabled";
};
...
...
@@ -74,8 +75,9 @@
compatible = "allwinner,simple-framebuffer",
"simple-framebuffer";
allwinner,pipeline = "de_fe0-de_be0-lcd0-hdmi";
clocks =
<&pll5 1>,
<&ahb_gates 36>, <&ahb_gates 43>,
clocks = <&ahb_gates 36>, <&ahb_gates 43>,
<&ahb_gates 44>, <&ahb_gates 46>,
<&de_be0_clk>, <&de_fe0_clk>, <&tcon0_ch1_clk>,
<&dram_gates 25>, <&dram_gates 26>;
status = "disabled";
};
...
...
@@ -84,9 +86,9 @@
compatible = "allwinner,simple-framebuffer",
"simple-framebuffer";
allwinner,pipeline = "de_fe0-de_be0-lcd0";
clocks =
<&pll5 1>,
<&ahb_gates 36>, <&ahb_gates 44>,
<&
ahb_gates 46>, <&dram_gates 25
>,
<&dram_gates 26>;
clocks = <&ahb_gates 36>, <&ahb_gates 44>,
<&ahb_gates 46>,
<&
de_be0_clk>, <&de_fe0_clk>, <&tcon0_ch0_clk
>,
<&dram_gates
25>, <&dram_gates
26>;
status = "disabled";
};
...
...
@@ -94,8 +96,10 @@
compatible = "allwinner,simple-framebuffer",
"simple-framebuffer";
allwinner,pipeline = "de_fe0-de_be0-lcd0-tve0";
clocks =
<&pll5 1>,
<&ahb_gates 34>, <&ahb_gates 36>,
clocks = <&ahb_gates 34>, <&ahb_gates 36>,
<&ahb_gates 44>, <&ahb_gates 46>,
<&de_be0_clk>, <&de_fe0_clk>,
<&tcon0_ch1_clk>, <&dram_gates 5>,
<&dram_gates 25>, <&dram_gates 26>;
status = "disabled";
};
...
...
@@ -184,6 +188,15 @@
clock-output-names = "osc24M";
};
osc3M: osc3M_clk {
compatible = "fixed-factor-clock";
#clock-cells = <0>;
clock-div = <8>;
clock-mult = <1>;
clocks = <&osc24M>;
clock-output-names = "osc3M";
};
osc32k: clk@0 {
#clock-cells = <0>;
compatible = "fixed-clock";
...
...
@@ -208,6 +221,23 @@
"pll2-4x", "pll2-8x";
};
pll3: clk@01c20010 {
#clock-cells = <0>;
compatible = "allwinner,sun4i-a10-pll3-clk";
reg = <0x01c20010 0x4>;
clocks = <&osc3M>;
clock-output-names = "pll3";
};
pll3x2: pll3x2_clk {
compatible = "fixed-factor-clock";
#clock-cells = <0>;
clock-div = <1>;
clock-mult = <2>;
clocks = <&pll3>;
clock-output-names = "pll3-2x";
};
pll4: clk@01c20018 {
#clock-cells = <0>;
compatible = "allwinner,sun4i-a10-pll1-clk";
...
...
@@ -232,6 +262,23 @@
clock-output-names = "pll6_sata", "pll6_other", "pll6";
};
pll7: clk@01c20030 {
#clock-cells = <0>;
compatible = "allwinner,sun4i-a10-pll3-clk";
reg = <0x01c20030 0x4>;
clocks = <&osc3M>;
clock-output-names = "pll7";
};
pll7x2: pll7x2_clk {
compatible = "fixed-factor-clock";
#clock-cells = <0>;
clock-div = <1>;
clock-mult = <2>;
clocks = <&pll7>;
clock-output-names = "pll7-2x";
};
/* dummy is 200M */
cpu: cpu@01c20054 {
#clock-cells = <0>;
...
...
@@ -477,6 +524,17 @@
clock-output-names = "ir1";
};
spdif_clk: clk@01c200c0 {
#clock-cells = <0>;
compatible = "allwinner,sun4i-a10-mod1-clk";
reg = <0x01c200c0 0x4>;
clocks = <&pll2 SUN4I_A10_PLL2_8X>,
<&pll2 SUN4I_A10_PLL2_4X>,
<&pll2 SUN4I_A10_PLL2_2X>,
<&pll2 SUN4I_A10_PLL2_1X>;
clock-output-names = "spdif";
};
usb_clk: clk@01c200cc {
#clock-cells = <1>;
#reset-cells = <1>;
...
...
@@ -520,6 +578,81 @@
"dram_de_mp", "dram_ace";
};
de_be0_clk: clk@01c20104 {
#clock-cells = <0>;
#reset-cells = <0>;
compatible = "allwinner,sun4i-a10-display-clk";
reg = <0x01c20104 0x4>;
clocks = <&pll3>, <&pll7>, <&pll5 1>;
clock-output-names = "de-be0";
};
de_be1_clk: clk@01c20108 {
#clock-cells = <0>;
#reset-cells = <0>;
compatible = "allwinner,sun4i-a10-display-clk";
reg = <0x01c20108 0x4>;
clocks = <&pll3>, <&pll7>, <&pll5 1>;
clock-output-names = "de-be1";
};
de_fe0_clk: clk@01c2010c {
#clock-cells = <0>;
#reset-cells = <0>;
compatible = "allwinner,sun4i-a10-display-clk";
reg = <0x01c2010c 0x4>;
clocks = <&pll3>, <&pll7>, <&pll5 1>;
clock-output-names = "de-fe0";
};
de_fe1_clk: clk@01c20110 {
#clock-cells = <0>;
#reset-cells = <0>;
compatible = "allwinner,sun4i-a10-display-clk";
reg = <0x01c20110 0x4>;
clocks = <&pll3>, <&pll7>, <&pll5 1>;
clock-output-names = "de-fe1";
};
tcon0_ch0_clk: clk@01c20118 {
#clock-cells = <0>;
#reset-cells = <1>;
compatible = "allwinner,sun4i-a10-tcon-ch0-clk";
reg = <0x01c20118 0x4>;
clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>;
clock-output-names = "tcon0-ch0-sclk";
};
tcon1_ch0_clk: clk@01c2011c {
#clock-cells = <0>;
#reset-cells = <1>;
compatible = "allwinner,sun4i-a10-tcon-ch1-clk";
reg = <0x01c2011c 0x4>;
clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>;
clock-output-names = "tcon1-ch0-sclk";
};
tcon0_ch1_clk: clk@01c2012c {
#clock-cells = <0>;
compatible = "allwinner,sun4i-a10-tcon-ch0-clk";
reg = <0x01c2012c 0x4>;
clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>;
clock-output-names = "tcon0-ch1-sclk";
};
tcon1_ch1_clk: clk@01c20130 {
#clock-cells = <0>;
compatible = "allwinner,sun4i-a10-tcon-ch1-clk";
reg = <0x01c20130 0x4>;
clocks = <&pll3>, <&pll7>, <&pll3x2>, <&pll7x2>;
clock-output-names = "tcon1-ch1-sclk";
};
ve_clk: clk@01c2013c {
#clock-cells = <0>;
#reset-cells = <0>;
...
...
@@ -588,6 +721,19 @@
#dma-cells = <2>;
};
nfc: nand@01c03000 {
compatible = "allwinner,sun4i-a10-nand";
reg = <0x01c03000 0x1000>;
interrupts = <37>;
clocks = <&ahb_gates 13>, <&nand_clk>;
clock-names = "ahb", "mod";
dmas = <&dma SUN4I_DMA_DEDICATED 3>;
dma-names = "rxtx";
status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
};
spi0: spi@01c05000 {
compatible = "allwinner,sun4i-a10-spi";
reg = <0x01c05000 0x1000>;
...
...
@@ -827,69 +973,62 @@
#interrupt-cells = <3>;
#gpio-cells = <3>;
pwm0_pins_a: pwm0@0 {
allwinner,pins = "PB2";
allwinner,function = "pwm";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
pwm1_pins_a: pwm1@0 {
allwinner,pins = "PI3";
allwinner,function = "pwm";
emac_pins_a: emac0@0 {
allwinner,pins = "PA0", "PA1", "PA2",
"PA3", "PA4", "PA5", "PA6",
"PA7", "PA8", "PA9", "PA10",
"PA11", "PA12", "PA13", "PA14",
"PA15", "PA16";
allwinner,function = "emac";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
uart
0_pins_a:
uart
0@0 {
allwinner,pins = "PB
22
", "PB
23
";
allwinner,function = "
uart
0";
i2c
0_pins_a:
i2c
0@0 {
allwinner,pins = "PB
0
", "PB
1
";
allwinner,function = "
i2c
0";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
uart0
_pins_
b
:
uart0@1
{
allwinner,pins = "P
F2
", "P
F4
";
allwinner,function = "
uart0
";
i2c1
_pins_
a
:
i2c1@0
{
allwinner,pins = "P
B18
", "P
B19
";
allwinner,function = "
i2c1
";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
uart1
_pins_a:
uart1
@0 {
allwinner,pins = "P
A1
0", "P
A1
1";
allwinner,function = "
uart1
";
i2c2
_pins_a:
i2c2
@0 {
allwinner,pins = "P
B2
0", "P
B2
1";
allwinner,function = "
i2c2
";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
i
2c0
_pins_a: i
2c
0@0 {
allwinner,pins = "PB
0", "PB1
";
allwinner,function = "i
2c
0";
i
r0_rx
_pins_a: i
r
0@0 {
allwinner,pins = "PB
4
";
allwinner,function = "i
r
0";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
i
2c1
_pins_a: i
2c1@0
{
allwinner,pins = "PB
18", "PB19
";
allwinner,function = "i
2c1
";
i
r0_tx
_pins_a: i
r0@1
{
allwinner,pins = "PB
3
";
allwinner,function = "i
r0
";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
i
2c2
_pins_a: i
2c2
@0 {
allwinner,pins = "PB2
0", "PB21
";
allwinner,function = "i
2c2
";
i
r1_rx
_pins_a: i
r1
@0 {
allwinner,pins = "PB2
3
";
allwinner,function = "i
r1
";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
emac_pins_a: emac0@0 {
allwinner,pins = "PA0", "PA1", "PA2",
"PA3", "PA4", "PA5", "PA6",
"PA7", "PA8", "PA9", "PA10",
"PA11", "PA12", "PA13", "PA14",
"PA15", "PA16";
allwinner,function = "emac";
ir1_tx_pins_a: ir1@1 {
allwinner,pins = "PB22";
allwinner,function = "ir1";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
...
...
@@ -909,34 +1048,41 @@
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
};
ir0_rx
_pins_a:
ir
0@0 {
allwinner,pins = "P
B4
";
allwinner,function = "
ir0
";
ps20
_pins_a:
ps2
0@0 {
allwinner,pins = "P
I20", "PI21
";
allwinner,function = "
ps2
";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
ir0_tx
_pins_a:
ir0@1
{
allwinner,pins = "P
B
3";
allwinner,function = "
ir0
";
ps21
_pins_a:
ps21@0
{
allwinner,pins = "P
H12", "PH1
3";
allwinner,function = "
ps2
";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
ir1_rx
_pins_a:
ir1
@0 {
allwinner,pins = "PB2
3
";
allwinner,function = "
ir1
";
pwm0
_pins_a:
pwm0
@0 {
allwinner,pins = "PB2";
allwinner,function = "
pwm
";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
ir1_tx
_pins_a:
ir
1@
1
{
allwinner,pins = "P
B22
";
allwinner,function = "
ir1
";
pwm1
_pins_a:
pwm
1@
0
{
allwinner,pins = "P
I3
";
allwinner,function = "
pwm
";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
spdif_tx_pins_a: spdif@0 {
allwinner,pins = "PB13";
allwinner,function = "spdif";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
};
spi0_pins_a: spi0@0 {
allwinner,pins = "PI11", "PI12", "PI13";
allwinner,function = "spi0";
...
...
@@ -993,16 +1139,23 @@
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
ps2
0_pins_a:
ps2
0@0 {
allwinner,pins = "P
I20
", "P
I21
";
allwinner,function = "
ps2
";
uart
0_pins_a:
uart
0@0 {
allwinner,pins = "P
B22
", "P
B23
";
allwinner,function = "
uart0
";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
ps21_pins_a: ps21@0 {
allwinner,pins = "PH12", "PH13";
allwinner,function = "ps2";
uart0_pins_b: uart0@1 {
allwinner,pins = "PF2", "PF4";
allwinner,function = "uart0";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
uart1_pins_a: uart1@0 {
allwinner,pins = "PA10", "PA11";
allwinner,function = "uart1";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
...
...
@@ -1034,6 +1187,19 @@
status = "disabled";
};
spdif: spdif@01c21000 {
#sound-dai-cells = <0>;
compatible = "allwinner,sun4i-a10-spdif";
reg = <0x01c21000 0x400>;
interrupts = <13>;
clocks = <&apb0_gates 1>, <&spdif_clk>;
clock-names = "apb", "spdif";
dmas = <&dma SUN4I_DMA_NORMAL 2>,
<&dma SUN4I_DMA_NORMAL 2>;
dma-names = "rx", "tx";
status = "disabled";
};
ir0: ir@01c21800 {
compatible = "allwinner,sun4i-a10-ir";