Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
1bd49882
Commit
1bd49882
authored
Feb 28, 2017
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gpio-key-wakeup-fix' into omap-for-v4.11/fixes
parents
03417352
48385896
Changes
37
Show whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
1077 additions
and
544 deletions
+1077
-544
Documentation/devicetree/bindings/arm/omap/omap.txt
Documentation/devicetree/bindings/arm/omap/omap.txt
+3
-0
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/Makefile
+3
-0
arch/arm/boot/dts/am335x-bone-common.dtsi
arch/arm/boot/dts/am335x-bone-common.dtsi
+2
-0
arch/arm/boot/dts/am335x-boneblack-common.dtsi
arch/arm/boot/dts/am335x-boneblack-common.dtsi
+163
-0
arch/arm/boot/dts/am335x-boneblack-wireless.dts
arch/arm/boot/dts/am335x-boneblack-wireless.dts
+109
-0
arch/arm/boot/dts/am335x-boneblack.dts
arch/arm/boot/dts/am335x-boneblack.dts
+1
-154
arch/arm/boot/dts/am335x-bonegreen-common.dtsi
arch/arm/boot/dts/am335x-bonegreen-common.dtsi
+44
-0
arch/arm/boot/dts/am335x-bonegreen-wireless.dts
arch/arm/boot/dts/am335x-bonegreen-wireless.dts
+126
-0
arch/arm/boot/dts/am335x-bonegreen.dts
arch/arm/boot/dts/am335x-bonegreen.dts
+1
-37
arch/arm/boot/dts/am335x-chilisom.dtsi
arch/arm/boot/dts/am335x-chilisom.dtsi
+8
-0
arch/arm/boot/dts/am335x-evm.dts
arch/arm/boot/dts/am335x-evm.dts
+4
-0
arch/arm/boot/dts/am335x-evmsk.dts
arch/arm/boot/dts/am335x-evmsk.dts
+4
-0
arch/arm/boot/dts/am335x-icev2.dts
arch/arm/boot/dts/am335x-icev2.dts
+4
-0
arch/arm/boot/dts/am335x-nano.dts
arch/arm/boot/dts/am335x-nano.dts
+30
-1
arch/arm/boot/dts/am335x-pcm-953.dtsi
arch/arm/boot/dts/am335x-pcm-953.dtsi
+288
-0
arch/arm/boot/dts/am335x-phycore-rdk.dts
arch/arm/boot/dts/am335x-phycore-rdk.dts
+27
-0
arch/arm/boot/dts/am335x-phycore-som.dtsi
arch/arm/boot/dts/am335x-phycore-som.dtsi
+12
-60
arch/arm/boot/dts/am335x-sl50.dts
arch/arm/boot/dts/am335x-sl50.dts
+58
-12
arch/arm/boot/dts/am335x-wega.dtsi
arch/arm/boot/dts/am335x-wega.dtsi
+7
-2
arch/arm/boot/dts/am437x-gp-evm.dts
arch/arm/boot/dts/am437x-gp-evm.dts
+4
-0
arch/arm/boot/dts/am437x-idk-evm.dts
arch/arm/boot/dts/am437x-idk-evm.dts
+4
-0
arch/arm/boot/dts/am437x-sk-evm.dts
arch/arm/boot/dts/am437x-sk-evm.dts
+4
-0
arch/arm/boot/dts/am43x-epos-evm.dts
arch/arm/boot/dts/am43x-epos-evm.dts
+4
-0
arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
+16
-2
arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts
arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts
+5
-0
arch/arm/boot/dts/am57xx-beagle-x15.dts
arch/arm/boot/dts/am57xx-beagle-x15.dts
+5
-0
arch/arm/boot/dts/am57xx-idk-common.dtsi
arch/arm/boot/dts/am57xx-idk-common.dtsi
+4
-0
arch/arm/boot/dts/dra7-evm.dts
arch/arm/boot/dts/dra7-evm.dts
+33
-253
arch/arm/boot/dts/dra71-evm.dts
arch/arm/boot/dts/dra71-evm.dts
+5
-0
arch/arm/boot/dts/dra72-evm-common.dtsi
arch/arm/boot/dts/dra72-evm-common.dtsi
+19
-1
arch/arm/boot/dts/dra72-evm-revc.dts
arch/arm/boot/dts/dra72-evm-revc.dts
+4
-0
arch/arm/boot/dts/omap3-beagle-xm.dts
arch/arm/boot/dts/omap3-beagle-xm.dts
+16
-0
arch/arm/boot/dts/omap3-igep.dtsi
arch/arm/boot/dts/omap3-igep.dtsi
+0
-21
arch/arm/boot/dts/omap3-n900.dts
arch/arm/boot/dts/omap3-n900.dts
+2
-1
arch/arm/boot/dts/omap4-panda-common.dtsi
arch/arm/boot/dts/omap4-panda-common.dtsi
+16
-0
arch/arm/boot/dts/omap5-igep0050.dts
arch/arm/boot/dts/omap5-igep0050.dts
+21
-0
arch/arm/boot/dts/omap5-uevm.dts
arch/arm/boot/dts/omap5-uevm.dts
+21
-0
No files found.
Documentation/devicetree/bindings/arm/omap/omap.txt
View file @
1bd49882
...
...
@@ -151,6 +151,9 @@ Boards:
- AM335X SBC-T335 : single board computer, built around the Sitara AM3352/4
compatible = "compulab,sbc-t335", "compulab,cm-t335", "ti,am33xx"
- AM335X phyCORE-AM335x: Development kit
compatible = "phytec,am335x-pcm-953", "phytec,am335x-phycore-som", "ti,am33xx"
- OMAP5 EVM : Evaluation Module
compatible = "ti,omap5-evm", "ti,omap5"
...
...
arch/arm/boot/dts/Makefile
View file @
1bd49882
...
...
@@ -564,7 +564,9 @@ dtb-$(CONFIG_SOC_AM33XX) += \
am335x-base0033.dtb
\
am335x-bone.dtb
\
am335x-boneblack.dtb
\
am335x-boneblack-wireless.dtb
\
am335x-bonegreen.dtb
\
am335x-bonegreen-wireless.dtb
\
am335x-chiliboard.dtb
\
am335x-cm-t335.dtb
\
am335x-evm.dtb
\
...
...
@@ -573,6 +575,7 @@ dtb-$(CONFIG_SOC_AM33XX) += \
am335x-lxm.dtb
\
am335x-nano.dtb
\
am335x-pepper.dtb
\
am335x-phycore-rdk.dtb
\
am335x-shc.dtb
\
am335x-sbc-t335.dtb
\
am335x-sl50.dtb
\
...
...
arch/arm/boot/dts/am335x-bone-common.dtsi
View file @
1bd49882
...
...
@@ -207,6 +207,8 @@ &usb1_phy {
&usb0 {
status = "okay";
dr_mode = "peripheral";
interrupts-extended = <&intc 18 &tps 0>;
interrupt-names = "mc", "vbus";
};
&usb1 {
...
...
arch/arm/boot/dts/am335x-boneblack-common.dtsi
0 → 100644
View file @
1bd49882
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <dt-bindings/display/tda998x.h>
&ldo3_reg {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
&mmc1 {
vmmc-supply = <&vmmcsd_fixed>;
};
&mmc2 {
vmmc-supply = <&vmmcsd_fixed>;
pinctrl-names = "default";
pinctrl-0 = <&emmc_pins>;
bus-width = <8>;
status = "okay";
};
&am33xx_pinmux {
nxp_hdmi_bonelt_pins: nxp_hdmi_bonelt_pins {
pinctrl-single,pins = <
AM33XX_IOPAD(0x9b0, PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr0 */
AM33XX_IOPAD(0x8a0, PIN_OUTPUT | MUX_MODE0) /* lcd_data0.lcd_data0 */
AM33XX_IOPAD(0x8a4, PIN_OUTPUT | MUX_MODE0) /* lcd_data1.lcd_data1 */
AM33XX_IOPAD(0x8a8, PIN_OUTPUT | MUX_MODE0) /* lcd_data2.lcd_data2 */
AM33XX_IOPAD(0x8ac, PIN_OUTPUT | MUX_MODE0) /* lcd_data3.lcd_data3 */
AM33XX_IOPAD(0x8b0, PIN_OUTPUT | MUX_MODE0) /* lcd_data4.lcd_data4 */
AM33XX_IOPAD(0x8b4, PIN_OUTPUT | MUX_MODE0) /* lcd_data5.lcd_data5 */
AM33XX_IOPAD(0x8b8, PIN_OUTPUT | MUX_MODE0) /* lcd_data6.lcd_data6 */
AM33XX_IOPAD(0x8bc, PIN_OUTPUT | MUX_MODE0) /* lcd_data7.lcd_data7 */
AM33XX_IOPAD(0x8c0, PIN_OUTPUT | MUX_MODE0) /* lcd_data8.lcd_data8 */
AM33XX_IOPAD(0x8c4, PIN_OUTPUT | MUX_MODE0) /* lcd_data9.lcd_data9 */
AM33XX_IOPAD(0x8c8, PIN_OUTPUT | MUX_MODE0) /* lcd_data10.lcd_data10 */
AM33XX_IOPAD(0x8cc, PIN_OUTPUT | MUX_MODE0) /* lcd_data11.lcd_data11 */
AM33XX_IOPAD(0x8d0, PIN_OUTPUT | MUX_MODE0) /* lcd_data12.lcd_data12 */
AM33XX_IOPAD(0x8d4, PIN_OUTPUT | MUX_MODE0) /* lcd_data13.lcd_data13 */
AM33XX_IOPAD(0x8d8, PIN_OUTPUT | MUX_MODE0) /* lcd_data14.lcd_data14 */
AM33XX_IOPAD(0x8dc, PIN_OUTPUT | MUX_MODE0) /* lcd_data15.lcd_data15 */
AM33XX_IOPAD(0x8e0, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* lcd_vsync.lcd_vsync */
AM33XX_IOPAD(0x8e4, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* lcd_hsync.lcd_hsync */
AM33XX_IOPAD(0x8e8, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* lcd_pclk.lcd_pclk */
AM33XX_IOPAD(0x8ec, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* lcd_ac_bias_en.lcd_ac_bias_en */
>;
};
nxp_hdmi_bonelt_off_pins: nxp_hdmi_bonelt_off_pins {
pinctrl-single,pins = <
AM33XX_IOPAD(0x9b0, PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* xdma_event_intr0 */
>;
};
mcasp0_pins: mcasp0_pins {
pinctrl-single,pins = <
AM33XX_IOPAD(0x9ac, PIN_INPUT_PULLUP | MUX_MODE0) /* mcasp0_ahcklx.mcasp0_ahclkx */
AM33XX_IOPAD(0x99c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mcasp0_ahclkr.mcasp0_axr2*/
AM33XX_IOPAD(0x994, PIN_OUTPUT_PULLUP | MUX_MODE0) /* mcasp0_fsx.mcasp0_fsx */
AM33XX_IOPAD(0x990, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mcasp0_aclkx.mcasp0_aclkx */
AM33XX_IOPAD(0x86c, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a11.GPIO1_27 */
>;
};
};
&lcdc {
status = "okay";
/* If you want to get 24 bit RGB and 16 BGR mode instead of
* current 16 bit RGB and 24 BGR modes, set the propety
* below to "crossed" and uncomment the video-ports -property
* in tda19988 node.
*/
blue-and-red-wiring = "straight";
port {
lcdc_0: endpoint@0 {
remote-endpoint = <&hdmi_0>;
};
};
};
&i2c0 {
tda19988: tda19988 {
compatible = "nxp,tda998x";
reg = <0x70>;
pinctrl-names = "default", "off";
pinctrl-0 = <&nxp_hdmi_bonelt_pins>;
pinctrl-1 = <&nxp_hdmi_bonelt_off_pins>;
/* Convert 24bit BGR to RGB, e.g. cross red and blue wiring */
/* video-ports = <0x234501>; */
#sound-dai-cells = <0>;
audio-ports = < TDA998x_I2S 0x03>;
ports {
port@0 {
hdmi_0: endpoint@0 {
remote-endpoint = <&lcdc_0>;
};
};
};
};
};
&rtc {
system-power-controller;
};
&mcasp0 {
#sound-dai-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&mcasp0_pins>;
status = "okay";
op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <2>;
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
0 0 1 0
>;
tx-num-evt = <32>;
rx-num-evt = <32>;
};
/ {
clk_mcasp0_fixed: clk_mcasp0_fixed {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <24576000>;
};
clk_mcasp0: clk_mcasp0 {
#clock-cells = <0>;
compatible = "gpio-gate-clock";
clocks = <&clk_mcasp0_fixed>;
enable-gpios = <&gpio1 27 0>; /* BeagleBone Black Clk enable on GPIO1_27 */
};
sound {
compatible = "simple-audio-card";
simple-audio-card,name = "TI BeagleBone Black";
simple-audio-card,format = "i2s";
simple-audio-card,bitclock-master = <&dailink0_master>;
simple-audio-card,frame-master = <&dailink0_master>;
dailink0_master: simple-audio-card,cpu {
sound-dai = <&mcasp0>;
clocks = <&clk_mcasp0>;
};
simple-audio-card,codec {
sound-dai = <&tda19988>;
};
};
};
arch/arm/boot/dts/am335x-boneblack-wireless.dts
0 → 100644
View file @
1bd49882
/*
*
Copyright
(
C
)
2012
Texas
Instruments
Incorporated
-
http
://
www
.
ti
.
com
/
*
*
This
program
is
free
software
;
you
can
redistribute
it
and
/
or
modify
*
it
under
the
terms
of
the
GNU
General
Public
License
version
2
as
*
published
by
the
Free
Software
Foundation
.
*/
/
dts
-
v1
/;
#
include
"am33xx.dtsi"
#
include
"am335x-bone-common.dtsi"
#
include
"am335x-boneblack-common.dtsi"
#
include
<
dt
-
bindings
/
interrupt
-
controller
/
irq
.
h
>
/
{
model
=
"TI AM335x BeagleBone Black Wireless"
;
compatible
=
"ti,am335x-bone-black-wireless"
,
"ti,am335x-bone-black"
,
"ti,am335x-bone"
,
"ti,am33xx"
;
wlan_en_reg
:
fixedregulator
@
2
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"wlan-en-regulator"
;
regulator
-
min
-
microvolt
=
<
1800000
>;
regulator
-
max
-
microvolt
=
<
1800000
>;
startup
-
delay
-
us
=
<
70000
>;
/*
WL_EN
*/
gpio
=
<&
gpio3
9
0
>;
enable
-
active
-
high
;
};
};
&
am33xx_pinmux
{
bt_pins
:
pinmux_bt_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x928
,
PIN_OUTPUT_PULLUP
|
MUX_MODE7
)
/*
gmii1_txd0
.
gpio0_28
-
BT_EN
*/
>;
};
mmc3_pins
:
pinmux_mmc3_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x93c
,
PIN_INPUT_PULLUP
|
MUX_MODE6
)
/*
(
L15
)
gmii1_rxd1
.
mmc2_clk
*/
AM33XX_IOPAD
(
0x914
,
PIN_INPUT_PULLUP
|
MUX_MODE6
)
/*
(
J16
)
gmii1_txen
.
mmc2_cmd
*/
AM33XX_IOPAD
(
0x918
,
PIN_INPUT_PULLUP
|
MUX_MODE5
)
/*
(
J17
)
gmii1_rxdv
.
mmc2_dat0
*/
AM33XX_IOPAD
(
0x91c
,
PIN_INPUT_PULLUP
|
MUX_MODE5
)
/*
(
J18
)
gmii1_txd3
.
mmc2_dat1
*/
AM33XX_IOPAD
(
0x920
,
PIN_INPUT_PULLUP
|
MUX_MODE5
)
/*
(
K15
)
gmii1_txd2
.
mmc2_dat2
*/
AM33XX_IOPAD
(
0x908
,
PIN_INPUT_PULLUP
|
MUX_MODE5
)
/*
(
H16
)
gmii1_col
.
mmc2_dat3
*/
>;
};
uart3_pins
:
pinmux_uart3_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x934
,
PIN_INPUT_PULLUP
|
MUX_MODE1
)
/*
gmii1_rxd3
.
uart3_rxd
*/
AM33XX_IOPAD
(
0x938
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE1
)
/*
gmii1_rxd2
.
uart3_txd
*/
AM33XX_IOPAD
(
0x948
,
PIN_INPUT
|
MUX_MODE3
)
/*
mdio_data
.
uart3_ctsn
*/
AM33XX_IOPAD
(
0x94c
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE3
)
/*
mdio_clk
.
uart3_rtsn
*/
>;
};
wl18xx_pins
:
pinmux_wl18xx_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x92c
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE7
)
/*
gmii1_txclk
.
gpio3_9
WL_EN
*/
AM33XX_IOPAD
(
0x944
,
PIN_INPUT_PULLDOWN
|
MUX_MODE7
)
/*
rmii1_refclk
.
gpio0_29
WL_IRQ
*/
AM33XX_IOPAD
(
0x930
,
PIN_OUTPUT_PULLUP
|
MUX_MODE7
)
/*
gmii1_rxclk
.
gpio3_10
LS_BUF_EN
*/
>;
};
};
&
mac
{
status
=
"disabled"
;
};
&
mmc3
{
dmas
=
<&
edma_xbar
12
0
1
&
edma_xbar
13
0
2
>;
dma
-
names
=
"tx"
,
"rx"
;
status
=
"okay"
;
vmmc
-
supply
=
<&
wlan_en_reg
>;
bus
-
width
=
<
4
>;
non
-
removable
;
cap
-
power
-
off
-
card
;
ti
,
needs
-
special
-
hs
-
handling
;
keep
-
power
-
in
-
suspend
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
mmc3_pins
&
wl18xx_pins
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
wlcore
:
wlcore
@
2
{
compatible
=
"ti,wl1835"
;
reg
=
<
2
>;
interrupt
-
parent
=
<&
gpio0
>;
interrupts
=
<
29
IRQ_TYPE_EDGE_RISING
>;
};
};
&
uart3
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
uart3_pins
&
bt_pins
>;
status
=
"okay"
;
};
&
gpio3
{
ls_buf_en
{
gpio
-
hog
;
gpios
=
<
10
GPIO_ACTIVE_HIGH
>;
output
-
high
;
line
-
name
=
"LS_BUF_EN"
;
};
};
arch/arm/boot/dts/am335x-boneblack.dts
View file @
1bd49882
...
...
@@ -9,162 +9,9 @@
#
include
"am33xx.dtsi"
#
include
"am335x-bone-common.dtsi"
#
include
<
dt
-
bindings
/
display
/
tda998x
.
h
>
#
include
"am335x-boneblack-common.dtsi"
/
{
model
=
"TI AM335x BeagleBone Black"
;
compatible
=
"ti,am335x-bone-black"
,
"ti,am335x-bone"
,
"ti,am33xx"
;
};
&
ldo3_reg
{
regulator
-
min
-
microvolt
=
<
1800000
>;
regulator
-
max
-
microvolt
=
<
1800000
>;
regulator
-
always
-
on
;
};
&
mmc1
{
vmmc
-
supply
=
<&
vmmcsd_fixed
>;
};
&
mmc2
{
vmmc
-
supply
=
<&
vmmcsd_fixed
>;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
emmc_pins
>;
bus
-
width
=
<
8
>;
status
=
"okay"
;
};
&
am33xx_pinmux
{
nxp_hdmi_bonelt_pins
:
nxp_hdmi_bonelt_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x9b0
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE3
)
/*
xdma_event_intr0
*/
AM33XX_IOPAD
(
0x8a0
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data0
.
lcd_data0
*/
AM33XX_IOPAD
(
0x8a4
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data1
.
lcd_data1
*/
AM33XX_IOPAD
(
0x8a8
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data2
.
lcd_data2
*/
AM33XX_IOPAD
(
0x8ac
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data3
.
lcd_data3
*/
AM33XX_IOPAD
(
0x8b0
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data4
.
lcd_data4
*/
AM33XX_IOPAD
(
0x8b4
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data5
.
lcd_data5
*/
AM33XX_IOPAD
(
0x8b8
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data6
.
lcd_data6
*/
AM33XX_IOPAD
(
0x8bc
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data7
.
lcd_data7
*/
AM33XX_IOPAD
(
0x8c0
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data8
.
lcd_data8
*/
AM33XX_IOPAD
(
0x8c4
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data9
.
lcd_data9
*/
AM33XX_IOPAD
(
0x8c8
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data10
.
lcd_data10
*/
AM33XX_IOPAD
(
0x8cc
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data11
.
lcd_data11
*/
AM33XX_IOPAD
(
0x8d0
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data12
.
lcd_data12
*/
AM33XX_IOPAD
(
0x8d4
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data13
.
lcd_data13
*/
AM33XX_IOPAD
(
0x8d8
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data14
.
lcd_data14
*/
AM33XX_IOPAD
(
0x8dc
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
lcd_data15
.
lcd_data15
*/
AM33XX_IOPAD
(
0x8e0
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE0
)
/*
lcd_vsync
.
lcd_vsync
*/
AM33XX_IOPAD
(
0x8e4
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE0
)
/*
lcd_hsync
.
lcd_hsync
*/
AM33XX_IOPAD
(
0x8e8
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE0
)
/*
lcd_pclk
.
lcd_pclk
*/
AM33XX_IOPAD
(
0x8ec
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE0
)
/*
lcd_ac_bias_en
.
lcd_ac_bias_en
*/
>;
};
nxp_hdmi_bonelt_off_pins
:
nxp_hdmi_bonelt_off_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x9b0
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE3
)
/*
xdma_event_intr0
*/
>;
};
mcasp0_pins
:
mcasp0_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x9ac
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
mcasp0_ahcklx
.
mcasp0_ahclkx
*/
AM33XX_IOPAD
(
0x99c
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE2
)
/*
mcasp0_ahclkr
.
mcasp0_axr2
*/
AM33XX_IOPAD
(
0x994
,
PIN_OUTPUT_PULLUP
|
MUX_MODE0
)
/*
mcasp0_fsx
.
mcasp0_fsx
*/
AM33XX_IOPAD
(
0x990
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE0
)
/*
mcasp0_aclkx
.
mcasp0_aclkx
*/
AM33XX_IOPAD
(
0x86c
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE7
)
/*
gpmc_a11
.
GPIO1_27
*/
>;
};
};
&
lcdc
{
status
=
"okay"
;
/*
If
you
want
to
get
24
bit
RGB
and
16
BGR
mode
instead
of
*
current
16
bit
RGB
and
24
BGR
modes
,
set
the
propety
*
below
to
"crossed"
and
uncomment
the
video
-
ports
-
property
*
in
tda19988
node
.
*/
blue
-
and
-
red
-
wiring
=
"straight"
;
port
{
lcdc_0
:
endpoint
@
0
{
remote
-
endpoint
=
<&
hdmi_0
>;
};
};
};
&
i2c0
{
tda19988
:
tda19988
{
compatible
=
"nxp,tda998x"
;
reg
=
<
0x70
>;
pinctrl
-
names
=
"default"
,
"off"
;
pinctrl
-
0
=
<&
nxp_hdmi_bonelt_pins
>;
pinctrl
-
1
=
<&
nxp_hdmi_bonelt_off_pins
>;
/*
Convert
24
bit
BGR
to
RGB
,
e
.
g
.
cross
red
and
blue
wiring
*/
/*
video
-
ports
=
<
0x234501
>;
*/
#
sound
-
dai
-
cells
=
<
0
>;
audio
-
ports
=
<
TDA998x_I2S
0x03
>;
ports
{
port
@
0
{
hdmi_0
:
endpoint
@
0
{
remote
-
endpoint
=
<&
lcdc_0
>;
};
};
};
};
};
&
rtc
{
system
-
power
-
controller
;
};
&
mcasp0
{
#
sound
-
dai
-
cells
=
<
0
>;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
mcasp0_pins
>;
status
=
"okay"
;
op
-
mode
=
<
0
>;
/*
MCASP_IIS_MODE
*/
tdm
-
slots
=
<
2
>;
serial
-
dir
=
<
/*
0
:
INACTIVE
,
1
:
TX
,
2
:
RX
*/
0
0
1
0
>;
tx
-
num
-
evt
=
<
32
>;
rx
-
num
-
evt
=
<
32
>;
};
/
{
clk_mcasp0_fixed
:
clk_mcasp0_fixed
{
#
clock
-
cells
=
<
0
>;
compatible
=
"fixed-clock"
;
clock
-
frequency
=
<
24576000
>;
};
clk_mcasp0
:
clk_mcasp0
{
#
clock
-
cells
=
<
0
>;
compatible
=
"gpio-gate-clock"
;
clocks
=
<&
clk_mcasp0_fixed
>;
enable
-
gpios
=
<&
gpio1
27
0
>;
/*
BeagleBone
Black
Clk
enable
on
GPIO1_27
*/
};
sound
{
compatible
=
"simple-audio-card"
;
simple
-
audio
-
card
,
name
=
"TI BeagleBone Black"
;
simple
-
audio
-
card
,
format
=
"i2s"
;
simple
-
audio
-
card
,
bitclock
-
master
=
<&
dailink0_master
>;
simple
-
audio
-
card
,
frame
-
master
=
<&
dailink0_master
>;
dailink0_master
:
simple
-
audio
-
card
,
cpu
{
sound
-
dai
=
<&
mcasp0
>;
clocks
=
<&
clk_mcasp0
>;
};
simple
-
audio
-
card
,
codec
{
sound
-
dai
=
<&
tda19988
>;
};
};
};
arch/arm/boot/dts/am335x-bonegreen-common.dtsi
0 → 100644
View file @
1bd49882
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
&ldo3_reg {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
&mmc1 {
vmmc-supply = <&vmmcsd_fixed>;
};
&mmc2 {
vmmc-supply = <&vmmcsd_fixed>;
pinctrl-names = "default";
pinctrl-0 = <&emmc_pins>;
bus-width = <8>;
status = "okay";
};
&am33xx_pinmux {
uart2_pins: uart2_pins {
pinctrl-single,pins = <
AM33XX_IOPAD(0x950, PIN_INPUT | MUX_MODE1) /* spi0_sclk.uart2_rxd */
AM33XX_IOPAD(0x954, PIN_OUTPUT | MUX_MODE1) /* spi0_d0.uart2_txd */
>;
};
};
&uart2 {
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins>;
status = "okay";
};
&rtc {
system-power-controller;
};
arch/arm/boot/dts/am335x-bonegreen-wireless.dts
0 → 100644
View file @
1bd49882
/*
*
Copyright
(
C
)
2012
Texas
Instruments
Incorporated
-
http
://
www
.
ti
.
com
/
*
*
This
program
is
free
software
;
you
can
redistribute
it
and
/
or
modify
*
it
under
the
terms
of
the
GNU
General
Public
License
version
2
as
*
published
by
the
Free
Software
Foundation
.
*/
/
dts
-
v1
/;
#
include
"am33xx.dtsi"
#
include
"am335x-bone-common.dtsi"
#
include
"am335x-bonegreen-common.dtsi"
#
include
<
dt
-
bindings
/
interrupt
-
controller
/
irq
.
h
>
/
{
model
=
"TI AM335x BeagleBone Green Wireless"
;
compatible
=
"ti,am335x-bone-green-wireless"
,
"ti,am335x-bone-green"
,
"ti,am335x-bone-black"
,
"ti,am335x-bone"
,
"ti,am33xx"
;
wlan_en_reg
:
fixedregulator
@
2
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"wlan-en-regulator"
;
regulator
-
min
-
microvolt
=
<
1800000
>;
regulator
-
max
-
microvolt
=
<
1800000
>;
startup
-
delay
-
us
=
<
70000
>;
/*
WL_EN
*/
gpio
=
<&
gpio0
26
0
>;
enable
-
active
-
high
;
};
};
&
am33xx_pinmux
{
bt_pins
:
pinmux_bt_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x878
,
PIN_OUTPUT_PULLUP
|
MUX_MODE7
)
/*
gpmc_ad12
.
gpio1_28
BT_EN
*/
>;
};
mmc3_pins
:
pinmux_mmc3_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x830
,
PIN_INPUT_PULLUP
|
MUX_MODE3
)
/*
gpmc_ad12
.
mmc2_dat0
*/
AM33XX_IOPAD
(
0x834
,
PIN_INPUT_PULLUP
|
MUX_MODE3
)
/*
gpmc_ad13
.
mmc2_dat1
*/
AM33XX_IOPAD
(
0x838
,
PIN_INPUT_PULLUP
|
MUX_MODE3
)
/*
gpmc_ad14
.
mmc2_dat2
*/
AM33XX_IOPAD
(
0x83c
,
PIN_INPUT_PULLUP
|
MUX_MODE3
)
/*
gpmc_ad15
.
mmc2_dat3
*/
AM33XX_IOPAD
(
0x888
,
PIN_INPUT_PULLUP
|
MUX_MODE3
)
/*
gpmc_csn3
.
mmc2_cmd
*/
AM33XX_IOPAD
(
0x88c
,
PIN_INPUT_PULLUP
|
MUX_MODE3
)
/*
gpmc_clk
.
mmc2_clk
*/
>;
};
uart3_pins
:
pinmux_uart3_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x934
,
PIN_INPUT_PULLUP
|
MUX_MODE1
)
/*
gmii1_rxd3
.
uart3_rxd
*/
AM33XX_IOPAD
(
0x938
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE1
)
/*
gmii1_rxd2
.
uart3_txd
*/
AM33XX_IOPAD
(
0x948
,
PIN_INPUT
|
MUX_MODE3
)
/*
mdio_data
.
uart3_ctsn
*/
AM33XX_IOPAD
(
0x94c
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE3
)
/*
mdio_clk
.
uart3_rtsn
*/
>;
};
wl18xx_pins
:
pinmux_wl18xx_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x828
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE7
)
/*
gpmc_ad10
.
gpio0_26
WL_EN
*/
AM33XX_IOPAD
(
0x82C
,
PIN_INPUT_PULLDOWN
|
MUX_MODE7
)
/*
gpmc_ad11
.
gpio0_27
WL_IRQ
*/
AM33XX_IOPAD
(
0x87C
,
PIN_OUTPUT_PULLUP
|
MUX_MODE7
)
/*
gpmc_csn0
.
gpio1_29
LS_BUF_EN
*/
>;
};
};
&
mac
{
status
=
"disabled"
;
};
&
mmc3
{
dmas
=
<&
edma_xbar
12
0
1
&
edma_xbar
13
0
2
>;
dma
-
names
=
"tx"
,
"rx"
;
status
=
"okay"
;
vmmc
-
supply
=
<&
wlan_en_reg
>;
bus
-
width
=
<
4
>;
non
-
removable
;
cap
-
power
-
off
-
card
;
ti
,
needs
-
special
-
hs
-
handling
;
keep
-
power
-
in
-
suspend
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
mmc3_pins
&
wl18xx_pins
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
wlcore
:
wlcore
@
2
{
compatible
=
"ti,wl1835"
;
reg
=
<
2
>;
interrupt
-
parent
=
<&
gpio0
>;
interrupts
=
<
27
IRQ_TYPE_EDGE_RISING
>;
};
};
&
uart3
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
uart3_pins
&
bt_pins
>;
status
=
"okay"
;
};
&
gpio1
{
ls_buf_en
{
gpio
-
hog
;
gpios
=
<
29
GPIO_ACTIVE_HIGH
>;
output
-
high
;
line
-
name
=
"LS_BUF_EN"
;
};
};
/*
BT_AUD_OUT
from
wl1835
has
to
be
pulled
low
when
WL_EN
is
activated
.*/
/*
in
case
it
isn
't, wilink8 ends up in one of the test modes that */
/* intruces various issues (elp wkaeup timeouts etc.) */
/* On the BBGW this pin is routed through the level shifter (U21) that */
/* introduces a pullup on the line and wilink8 ends up in a bad state. */
/* use a gpio hog to force this pin low. An alternative may be adding */
/* an external pulldown on U21 pin 4. */
&gpio3 {
bt_aud_in {
gpio-hog;
gpios = <16 GPIO_ACTIVE_HIGH>;
output-low;
line-name = "MCASP0_AHCLKR";
};
};
arch/arm/boot/dts/am335x-bonegreen.dts
View file @
1bd49882
...
...
@@ -9,45 +9,9 @@
#
include
"am33xx.dtsi"
#
include
"am335x-bone-common.dtsi"
#
include
"am335x-bonegreen-common.dtsi"
/
{
model
=
"TI AM335x BeagleBone Green"
;
compatible
=
"ti,am335x-bone-green"
,
"ti,am335x-bone-black"
,
"ti,am335x-bone"
,
"ti,am33xx"
;
};
&
ldo3_reg
{
regulator
-
min
-
microvolt
=
<
1800000
>;
regulator
-
max
-
microvolt
=
<
1800000
>;
regulator
-
always
-
on
;
};
&
mmc1
{
vmmc
-
supply
=
<&
vmmcsd_fixed
>;
};
&
mmc2
{
vmmc
-
supply
=
<&
vmmcsd_fixed
>;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
emmc_pins
>;
bus
-
width
=
<
8
>;
status
=
"okay"
;
};
&
am33xx_pinmux
{
uart2_pins
:
uart2_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x950
,
PIN_INPUT
|
MUX_MODE1
)
/*
spi0_sclk
.
uart2_rxd
*/
AM33XX_IOPAD
(
0x954
,
PIN_OUTPUT
|
MUX_MODE1
)
/*
spi0_d0
.
uart2_txd
*/
>;
};
};
&
uart2
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
uart2_pins
>;
status
=
"okay"
;
};
&
rtc
{
system
-
power
-
controller
;
};
arch/arm/boot/dts/am335x-chilisom.dtsi
View file @
1bd49882
...
...
@@ -124,6 +124,14 @@ ldo4_reg: regulator@6 {
&
rtc
{
system
-
power
-
controller
;
pinctrl
-
0
=
<&
ext_wakeup
>;
pinctrl
-
names
=
"default"
;
ext_wakeup
:
ext
-
wakeup
{
pins
=
"ext_wakeup0"
;
input
-
enable
;
};
};
/*
NAND
Flash
*/
...
...
arch/arm/boot/dts/am335x-evm.dts
View file @
1bd49882
...
...
@@ -25,6 +25,10 @@ memory@80000000 {
reg
=
<
0x80000000
0x10000000
>;
/*
256
MB
*/
};
chosen
{
stdout
-
path
=
&
uart0
;
};
vbat
:
fixedregulator0
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"vbat"
;
...
...
arch/arm/boot/dts/am335x-evmsk.dts
View file @
1bd49882
...
...
@@ -32,6 +32,10 @@ memory@80000000 {
reg
=
<
0x80000000
0x10000000
>;
/*
256
MB
*/
};
chosen
{
stdout
-
path
=
&
uart0
;
};
vbat
:
fixedregulator0
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"vbat"
;
...
...
arch/arm/boot/dts/am335x-icev2.dts
View file @
1bd49882
...
...
@@ -24,6 +24,10 @@ memory@80000000 {
reg
=
<
0x80000000
0x10000000
>;
/*
256
MB
*/
};
chosen
{
stdout
-
path
=
&
uart3
;
};
vbat
:
fixedregulator0
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"vbat"
;
...
...
arch/arm/boot/dts/am335x-nano.dts
View file @
1bd49882
...
...
@@ -249,7 +249,8 @@ &gpmc {
#
address
-
cells
=
<
2
>;
#
size
-
cells
=
<
1
>;
ranges
=
<
0
0
0x08000000
0x08000000
>;
/*
CS0
:
NOR
128
M
*/
ranges
=
<
0
0
0x08000000
0x08000000
>,
/*
CS0
:
NOR
128
M
*/
<
1
0
0x1c000000
0x01000000
>;
/*
CS1
:
FRAM
16
M
*/
nor
@
0
,
0
{
reg
=
<
0
0x00000000
0x08000000
>;
...
...
@@ -342,6 +343,34 @@ partition@6 {
reg
=
<
0x04000000
0x04000000
>;
/*
64
MB
*/
};
};
fram
@
1
,
0
{
reg
=
<
1
0x00000000
0x01000000
>;
bank
-
width
=
<
2
>;
gpmc
,
mux
-
add
-
data
=
<
2
>;
gpmc
,
sync
-
clk
-
ps
=
<
0
>;
gpmc
,
cs
-
on
-
ns
=
<
0
>;
gpmc
,
cs
-
rd
-
off
-
ns
=
<
160
>;
gpmc
,
cs
-
wr
-
off
-
ns
=
<
160
>;
gpmc
,
adv
-
on
-
ns
=
<
10
>;
gpmc
,
adv
-
rd
-
off
-
ns
=
<
20
>;
gpmc
,
adv
-
wr
-
off
-
ns
=
<
20
>;
gpmc
,
oe
-
on
-
ns
=
<
30
>;
gpmc
,
oe
-
off
-
ns
=
<
150
>;
gpmc
,
we
-
on
-
ns
=
<
30
>;
gpmc
,
we
-
off
-
ns
=
<
150
>;
gpmc
,
rd
-
cycle
-
ns
=
<
160
>;
gpmc
,
wr
-
cycle
-
ns
=
<
160
>;
gpmc
,
access
-
ns
=
<
130
>;
gpmc
,
page
-
burst
-
access
-
ns
=
<
10
>;
gpmc
,
cycle2cycle
-
samecsen
;
gpmc
,
cycle2cycle
-
diffcsen
;
gpmc
,
cycle2cycle
-
delay
-
ns
=
<
10
>;
gpmc
,
wr
-
data
-
mux
-
bus
-
ns
=
<
30
>;
gpmc
,
wr
-
access
-
ns
=
<
0
>;
};
};
&
mac
{
...
...
arch/arm/boot/dts/am335x-pcm-953.dtsi
0 → 100644
View file @
1bd49882
/*
*
Copyright
(
C
)
2014
-
2017
Phytec
Messtechnik
GmbH
*
Author
:
Wadim
Egorov
<
w
.
egorov
@
phytec
.
de
>
*
Teresa
Remmet
<
t
.
remmet
@
phytec
.
de
>
*
*
This
program
is
free
software
;
you
can
redistribute
it
and
/
or
modify
*
it
under
the
terms
of
the
GNU
General
Public
License
version
2
as
*
published
by
the
Free
Software
Foundation
.
*/
#
include
<
dt
-
bindings
/
input
/
input
.
h
>
/
{
model
=
"Phytec AM335x PCM-953"
;
compatible
=
"phytec,am335x-pcm-953"
,
"phytec,am335x-phycore-som"
,
"ti,am33xx"
;
/*
Power
*/
regulators
{
vcc3v3
:
fixedregulator
@
1
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"vcc3v3"
;
regulator
-
min
-
microvolt
=
<
3300000
>;
regulator
-
max
-
microvolt
=
<
3300000
>;
regulator
-
boot
-
on
;
};
vcc1v8
:
fixedregulator
@
2
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"vcc1v8"
;
regulator
-
min
-
microvolt
=
<
1800000
>;
regulator
-
max
-
microvolt
=
<
1800000
>;
regulator
-
boot
-
on
;
};
};
/*
User
IO
*/
user_leds
:
user_leds
{
compatible
=
"gpio-leds"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
user_leds_pins
>;
green
{
label
=
"green:user"
;
gpios
=
<&
gpio1
30
GPIO_ACTIVE_HIGH
>;
linux
,
default
-
trigger
=
"gpio"
;
default
-
state
=
"on"
;
};
yellow
{
label
=
"yellow:user"
;
gpios
=
<&
gpio1
31
GPIO_ACTIVE_LOW
>;
linux
,
default
-
trigger
=
"gpio"
;
default
-
state
=
"on"
;
};
};
user_buttons
:
user_buttons
{
compatible
=
"gpio-keys"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
user_buttons_pins
>;
button
@
0
{
label
=
"home"
;
linux
,
code
=
<
KEY_HOME
>;
gpios
=
<&
gpio3
7
GPIO_ACTIVE_HIGH
>;
wakeup
-
source
;
};
button
@
1
{
label
=
"menu"
;
linux
,
code
=
<
KEY_MENU
>;
gpios
=
<&
gpio3
8
GPIO_ACTIVE_HIGH
>;
wakeup
-
source
;
};
};
};
&
am33xx_pinmux
{
user_buttons_pins
:
pinmux_user_buttons
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x9e4
,
PIN_INPUT_PULLDOWN
|
MUX_MODE7
)
/*
emu0
.
gpio3_7
*/
AM33XX_IOPAD
(
0x9e8
,
PIN_INPUT_PULLDOWN
|
MUX_MODE7
)
/*
emu1
.
gpio3_8
*/
>;
};
user_leds_pins
:
pinmux_user_leds
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x880
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE7
)
/*
gpmc_csn1
.
gpio1_30
*/
AM33XX_IOPAD
(
0x884
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE7
)
/*
gpmc_csn2
.
gpio1_31
*/
>;
};
};
/*
CAN
*/
&
am33xx_pinmux
{
dcan1_pins
:
pinmux_dcan1
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x980
,
PIN_OUTPUT_PULLUP
|
MUX_MODE2
)
/*
uart1_rxd
.
dcan1_tx_mux2
*/
AM33XX_IOPAD
(
0x984
,
PIN_INPUT_PULLUP
|
MUX_MODE2
)
/*
uart1_txd
.
dcan1_rx_mux2
*/
>;
};
};
&
dcan1
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
dcan1_pins
>;
status
=
"okay"
;
};
/*
Ethernet
*/
&
am33xx_pinmux
{
ethernet1_pins
:
pinmux_ethernet1
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x840
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE2
)
/*
gpmc_a0
.
rgmii2_tctl
*/
AM33XX_IOPAD
(
0x844
,
PIN_INPUT_PULLDOWN
|
MUX_MODE2
)
/*
gpmc_a1
.
rgmii2_rctl
*/
AM33XX_IOPAD
(
0x848
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE2
)
/*
gpmc_a2
.
rgmii2_td3
*/
AM33XX_IOPAD
(
0x84c
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE2
)
/*
gpmc_a3
.
rgmii2_td2
*/
AM33XX_IOPAD
(
0x850
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE2
)
/*
gpmc_a4
.
rgmii2_td1
*/
AM33XX_IOPAD
(
0x854
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE2
)
/*
gpmc_a5
.
rgmii2_td0
*/
AM33XX_IOPAD
(
0x858
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE2
)
/*
gpmc_a6
.
rgmii2_tclk
*/
AM33XX_IOPAD
(
0x85c
,
PIN_INPUT_PULLDOWN
|
MUX_MODE2
)
/*
gpmc_a7
.
rgmii2_rclk
*/
AM33XX_IOPAD
(
0x860
,
PIN_INPUT_PULLDOWN
|
MUX_MODE2
)
/*
gpmc_a8
.
rgmii2_rd3
*/
AM33XX_IOPAD
(
0x864
,
PIN_INPUT_PULLDOWN
|
MUX_MODE2
)
/*
gpmc_a9
.
rgmii2_rd2
*/
AM33XX_IOPAD
(
0x868
,
PIN_INPUT_PULLDOWN
|
MUX_MODE2
)
/*
gpmc_a10
.
rgmii2_rd1
*/
AM33XX_IOPAD
(
0x86c
,
PIN_INPUT_PULLDOWN
|
MUX_MODE2
)
/*
gpmc_a11
.
rgmii2_rd0
*/
>;
};
};
&
cpsw_emac1
{
phy
-
handle
=
<&
phy1
>;
phy
-
mode
=
"rgmii-id"
;
dual_emac_res_vlan
=
<
2
>;
status
=
"okay"
;
};
&
davinci_mdio
{
phy1
:
ethernet
-
phy
@
2
{
reg
=
<
2
>;
/*
Register
260
(
104
h
)
–
RGMII
Clock
and
Control
Pad
Skew
*/
rxc
-
skew
-
ps
=
<
1400
>;
rxdv
-
skew
-
ps
=
<
0
>;
txc
-
skew
-
ps
=
<
1400
>;
txen
-
skew
-
ps
=
<
0
>;
/*
Register
261
(
105
h
)
–
RGMII
RX
Data
Pad
Skew
*/
rxd3
-
skew
-
ps
=
<
0
>;
rxd2
-
skew
-
ps
=
<
0
>;
rxd1
-
skew
-
ps
=
<
0
>;
rxd0
-
skew
-
ps
=
<
0
>;
/*
Register
262
(
106
h
)
–
RGMII
TX
Data
Pad
Skew
*/
txd3
-
skew
-
ps
=
<
0
>;
txd2
-
skew
-
ps
=
<
0
>;
txd1
-
skew
-
ps
=
<
0
>;
txd0
-
skew
-
ps
=
<
0
>;
};
};
&
mac
{
slaves
=
<
2
>;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
ethernet0_pins
&
ethernet1_pins
>;
dual_emac
;
};
/*
Misc
*/
&
am33xx_pinmux
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
cb_gpio_pins
>;
cb_gpio_pins
:
pinmux_cb_gpio
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x968
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE7
)
/*
uart0_ctsn
.
gpio1_8
*/
AM33XX_IOPAD
(
0x96c
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE7
)
/*
uart0_rtsn
.
gpio1_9
*/
>;
};
};
/*
MMC
*/
&
am33xx_pinmux
{
mmc1_pins
:
pinmux_mmc1_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x8f0
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
mmc0_dat3
.
mmc0_dat3
*/
AM33XX_IOPAD
(
0x8f4
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
mmc0_dat2
.
mmc0_dat2
*/
AM33XX_IOPAD
(
0x8f8
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
mmc0_dat1
.
mmc0_dat1
*/
AM33XX_IOPAD
(
0x8fc
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
mmc0_dat0
.
mmc0_dat0
*/
AM33XX_IOPAD
(
0x900
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
mmc0_clk
.
mmc0_clk
*/
AM33XX_IOPAD
(
0x904
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
mmc0_cmd
.
mmc0_cmd
*/
AM33XX_IOPAD
(
0x960
,
PIN_INPUT_PULLUP
|
MUX_MODE7
)
/*
spi0_cs1
.
mmc0_sdcd
*/
>;
};
};
&
mmc1
{
vmmc
-
supply
=
<&
vcc3v3
>;
bus
-
width
=
<
4
>;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
mmc1_pins
>;
cd
-
gpios
=
<&
gpio0
6
GPIO_ACTIVE_HIGH
>;
status
=
"okay"
;
};
/*
UARTs
*/
&
am33xx_pinmux
{
uart0_pins
:
pinmux_uart0
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x970
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
uart0_rxd
.
uart0_rxd
*/
AM33XX_IOPAD
(
0x974
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE0
)
/*
uart0_txd
.
uart0_txd
*/
>;
};
uart1_pins
:
pinmux_uart1
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x980
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
uart1_rxd
.
uart1_rxd
*/
AM33XX_IOPAD
(
0x984
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE0
)
/*
uart1_txd
.
uart1_txd
*/
AM33XX_IOPAD
(
0x978
,
PIN_INPUT
|
MUX_MODE0
)
/*
uart1_ctsn
.
uart1_ctsn
*/
AM33XX_IOPAD
(
0x97c
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE0
)
/*
uart1_rtsn
.
uart1_rtsn
*/
>;
};
uart2_pins
:
pinmux_uart2
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x92c
,
PIN_INPUT_PULLUP
|
MUX_MODE1
)
/*
mii1_tx_clk
.
uart2_rxd
*/
AM33XX_IOPAD
(
0x930
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE1
)
/*
mii1_rx_clk
.
uart2_txd
*/
>;
};
uart3_pins
:
pinmux_uart3
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x934
,
PIN_INPUT_PULLUP
|
MUX_MODE1
)
/*
mii1_rxd3
.
uart3_rxd
*/
AM33XX_IOPAD
(
0x938
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE1
)
/*
mii1_rxd2
.
uart3_txd
*/
>;
};
};
&
uart0
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
uart0_pins
>;
status
=
"okay"
;
};
&
uart1
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
uart1_pins
>;
};
&
uart2
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
uart2_pins
>;
status
=
"okay"
;
};
&
uart3
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
uart3_pins
>;
status
=
"okay"
;
};
/*
USB
*/
&
cppi41dma
{
status
=
"okay"
;
};
&
usb_ctrl_mod
{
status
=
"okay"
;
};
&
usb
{
status
=
"okay"
;
};
&
usb0
{
status
=
"okay"
;
};
&
usb0_phy
{
status
=
"okay"
;
};
&
usb1
{
status
=
"okay"
;
dr_mode
=
"host"
;
};
&
usb1_phy
{
status
=
"okay"
;
};
arch/arm/boot/dts/am335x-phycore-rdk.dts
0 → 100644
View file @
1bd49882
/*
* Copyright (C) 2014 PHYTEC Messtechnik GmbH
* Author: Wadim Egorov <w.egorov@phytec.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;
#include "am335x-phycore-som.dtsi"
#include "am335x-pcm-953.dtsi"
/* SoM */
&i2c_eeprom {
status = "okay";
};
&i2c_rtc {
status = "okay";
};
&serial_flash {
status = "okay";
};
arch/arm/boot/dts/am335x-phycore-som.dtsi
View file @
1bd49882
...
...
@@ -78,7 +78,7 @@ AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0) /* mdio_clk.mdio_clk */
};
&
cpsw_emac0
{
phy
_id
=
<&
davinci_mdio
>,
<
0
>;
phy
-
handle
=
<&
phy
0
>;
phy
-
mode
=
"rmii"
;
dual_emac_res_vlan
=
<
1
>;
};
...
...
@@ -87,6 +87,10 @@ &davinci_mdio {
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
mdio_pins
>;
status
=
"okay"
;
phy0
:
ethernet
-
phy
@
0
{
reg
=
<
0
>;
};
};
&
mac
{
...
...
@@ -120,6 +124,12 @@ tps: pmic@2d {
reg
=
<
0x2d
>;
};
i2c_tmp102
:
temp
@
4
b
{
compatible
=
"ti,tmp102"
;
reg
=
<
0x4b
>;
status
=
"disabled"
;
};
i2c_eeprom
:
eeprom
@
52
{
compatible
=
"atmel,24c32"
;
pagesize
=
<
32
>;
...
...
@@ -201,43 +211,6 @@ nandflash: nand@0,0 {
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
partition
@
0
{
label
=
"xload"
;
reg
=
<
0x0
0x20000
>;
};
partition
@
1
{
label
=
"xload_backup1"
;
reg
=
<
0x20000
0x20000
>;
};
partition
@
2
{
label
=
"xload_backup2"
;
reg
=
<
0x40000
0x20000
>;
};
partition
@
3
{
label
=
"xload_backup3"
;
reg
=
<
0x60000
0x20000
>;
};
partition
@
4
{
label
=
"barebox"
;
reg
=
<
0x80000
0x80000
>;
};
partition
@
5
{
label
=
"bareboxenv"
;
reg
=
<
0x100000
0x40000
>;
};
partition
@
6
{
label
=
"oftree"
;
reg
=
<
0x140000
0x40000
>;
};
partition
@
7
{
label
=
"kernel"
;
reg
=
<
0x180000
0x800000
>;
};
partition
@
8
{
label
=
"root"
;
reg
=
<
0x980000
0x0
>;
};
};
};
...
...
@@ -341,33 +314,12 @@ &spi0 {
status
=
"okay"
;
serial_flash
:
m25p80
@
0
{
compatible
=
"
m25p80
"
;
compatible
=
"
jedec,spi-nor
"
;
spi
-
max
-
frequency
=
<
48000000
>;
reg
=
<
0x0
>;
m25p
,
fast
-
read
;
status
=
"disabled"
;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
partition
@
0
{
label
=
"xload"
;
reg
=
<
0x0
0x20000
>;
};
partition
@
1
{
label
=
"barebox"
;
reg
=
<
0x20000
0x80000
>;
};
partition
@
2
{
label
=
"bareboxenv"
;
reg
=
<
0xa0000
0x20000
>;
};
partition
@
3
{
label
=
"oftree"
;
reg
=
<
0xc0000
0x20000
>;
};
partition
@
4
{
label
=
"kernel"
;
reg
=
<
0xe0000
0x0
>;
};
};
};
arch/arm/boot/dts/am335x-sl50.dts
View file @
1bd49882
...
...
@@ -136,6 +136,13 @@ AM33XX_IOPAD(0x974, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart0_txd.uart0_txd */
>;
};
uart1_pins
:
pinmux_uart1_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x980
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
uart1_rxd
.
uart1_rxd
*/
AM33XX_IOPAD
(
0x984
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE0
)
/*
uart1_txd
.
uart1_txd
*/
>;
};
uart4_pins
:
pinmux_uart4_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x870
,
PIN_INPUT_PULLUP
|
MUX_MODE6
)
/*
gpmc_wait0
.
uart4_rxd
*/
...
...
@@ -150,13 +157,6 @@ AM33XX_IOPAD(0x98c, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c0_scl.i2c0_scl */
>;
};
i2c1_pins
:
pinmux_i2c1_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x980
,
PIN_INPUT_PULLUP
|
MUX_MODE3
)
/*
uart1_rxd
.
i2c1_sda
*/
AM33XX_IOPAD
(
0x984
,
PIN_INPUT_PULLUP
|
MUX_MODE3
)
/*
uart1_txdi2c1_scl
*/
>;
};
i2c2_pins
:
pinmux_i2c2_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x978
,
PIN_INPUT_PULLUP
|
MUX_MODE3
)
/*
uart1_ctsn
.
i2c2_sda
*/
...
...
@@ -262,6 +262,16 @@ AM33XX_IOPAD(0x84c, PIN_OUTPUT | MUX_MODE6) /* gpmc_a3.ehrpwm1b */
>;
};
spi0_pins
:
pinmux_spi0_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x954
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
SPI0_MOSI
-
spi0_d0
.
spi0_d0
*/
AM33XX_IOPAD
(
0x958
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
SPI0_MISO
-
spi0_d1
.
spi0_d1
*/
AM33XX_IOPAD
(
0x950
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
SPI0_CLK
-
spi0_clk
.
spi0_clk
*/
AM33XX_IOPAD
(
0x95c
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
SPI0_CS0
(
NBATTSS
)
-
spi0_cs0
.
spi0_cs0
*/
AM33XX_IOPAD
(
0x960
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
SPI0_CS1
(
FPGA_FLASH_NCS
)
-
spi0_cs1
.
spi0_cs1
*/
>;
};
lwb_pins
:
pinmux_lwb_pins
{
pinctrl
-
single
,
pins
=
<
AM33XX_IOPAD
(
0x9a4
,
PIN_OUTPUT
|
MUX_MODE7
)
/*
SoundPA_en
-
mcasp0_fsr
.
gpio3_19
*/
...
...
@@ -292,16 +302,22 @@ tps: tps@24 {
reg
=
<
0x24
>;
};
bq32000
:
rtc
@
68
{
compatible
=
"ti,bq32000"
;
trickle
-
resistor
-
ohms
=
<
1120
>;
reg
=
<
0x68
>;
};
eeprom
:
eeprom
@
50
{
compatible
=
"at,24c256"
;
reg
=
<
0x50
>;
};
};
&
i2c1
{
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
i2c1_pins
>;
gpio_exp
:
mcp23017
@
20
{
compatible
=
"microchip,mcp23017"
;
reg
=
<
0x20
>;
};
};
&
i2c2
{
...
...
@@ -321,6 +337,16 @@ audio_codec: tlv320aic3106@1b {
DRVDD
-
supply
=
<&
ldo4_reg
>;
DVDD
-
supply
=
<&
ldo3_reg
>;
};
/*
Ambient
Light
Sensor
*/
als
:
isl29023
@
44
{
compatible
=
"isil,isl29023"
;
reg
=
<
0x44
>;
};
};
&
rtc
{
status
=
"disabled"
;
};
&
usb
{
...
...
@@ -394,12 +420,32 @@ &uart0 {
pinctrl
-
0
=
<&
uart0_pins
>;
};
&
uart1
{
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
uart1_pins
>;
};
&
uart4
{
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
uart4_pins
>;
};
&
spi0
{
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
spi0_pins
>;
flash
:
n25q032
@
1
{
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
compatible
=
"micron,n25q032"
;
reg
=
<
1
>;
spi
-
max
-
frequency
=
<
5000000
>;
};
};
#
include
"tps65217.dtsi"
&
tps
{
...
...
arch/arm/boot/dts/am335x-wega.dtsi
View file @
1bd49882
...
...
@@ -119,11 +119,17 @@ AM33XX_IOPAD(0x878, PIN_INPUT_PULLDOWN | MUX_MODE1) /* gpmc_ben1.mii2_col */
};
&
cpsw_emac1
{
phy
_id
=
<&
davinci_mdio
>,
<
1
>;
phy
-
handle
=
<&
phy
1
>;
phy
-
mode
=
"mii"
;
dual_emac_res_vlan
=
<
2
>;
};
&
davinci_mdio
{
phy1
:
ethernet
-
phy
@
1
{
reg
=
<
1
>;
};
};
&
mac
{
slaves
=
<
2
>;
pinctrl
-
names
=
"default"
;
...
...
@@ -206,7 +212,6 @@ &usb {
};
&
usb0
{
dr_mode
=
"peripheral"
;
status
=
"okay"
;
};
...
...
arch/arm/boot/dts/am437x-gp-evm.dts
View file @
1bd49882
...
...
@@ -23,6 +23,10 @@ aliases {
display0
=
&
lcd0
;
};
chosen
{
stdout
-
path
=
&
uart0
;
};
evm_v3_3d
:
fixedregulator
-
v3_3d
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"evm_v3_3d"
;
...
...
arch/arm/boot/dts/am437x-idk-evm.dts
View file @
1bd49882
...
...
@@ -18,6 +18,10 @@ / {
model
=
"TI AM437x Industrial Development Kit"
;
compatible
=
"ti,am437x-idk-evm"
,
"ti,am4372"
,
"ti,am43"
;
chosen
{
stdout
-
path
=
&
uart0
;
};
v24_0d
:
fixed
-
regulator
-
v24_0d
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"V24_0D"
;
...
...
arch/arm/boot/dts/am437x-sk-evm.dts
View file @
1bd49882
...
...
@@ -24,6 +24,10 @@ aliases {
display0
=
&
lcd0
;
};
chosen
{
stdout
-
path
=
&
uart0
;
};
/*
fixed
32
k
external
oscillator
clock
*/
clk_32k_rtc
:
clk_32k_rtc
{
#
clock
-
cells
=
<
0
>;
...
...
arch/arm/boot/dts/am43x-epos-evm.dts
View file @
1bd49882
...
...
@@ -24,6 +24,10 @@ aliases {
display0
=
&
lcd0
;
};
chosen
{
stdout
-
path
=
&
uart0
;
};
vmmcsd_fixed
:
fixedregulator
-
sd
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"vmmcsd_fixed"
;
...
...
arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi
View file @
1bd49882
...
...
@@ -22,6 +22,10 @@ aliases {
display0 = &hdmi0;
};
chosen {
stdout-path = &uart3;
};
memory@0 {
device_type = "memory";
reg = <0x0 0x80000000 0x0 0x80000000>;
...
...
@@ -421,19 +425,29 @@ &uart3 {
<&dra7_pmx_core 0x3f8>;
};
&davinci_mdio {
phy0: ethernet-phy@1 {
reg = <1>;
};
phy1: ethernet-phy@2 {
reg = <2>;
};
};
&mac {
status = "okay";
dual_emac;
};
&cpsw_emac0 {
phy
_id = <&davinci_mdio>, <1
>;
phy
-handle = <&phy0
>;
phy-mode = "rgmii";
dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
phy
_id = <&davinci_mdio>, <2
>;
phy
-handle = <&phy1
>;
phy-mode = "rgmii";
dual_emac_res_vlan = <2>;
};
...
...
arch/arm/boot/dts/am57xx-beagle-x15-revb1.dts
View file @
1bd49882
...
...
@@ -22,3 +22,8 @@ &mmc1 {
vmmc
-
supply
=
<&
vdd_3v3
>;
vmmc
-
aux
-
supply
=
<&
ldo1_reg
>;
};
/*
errata
i880
"Ethernet RGMII2 Limited to 10/100 Mbps"
*/
&
phy1
{
max
-
speed
=
<
100
>;
};
arch/arm/boot/dts/am57xx-beagle-x15.dts
View file @
1bd49882
...
...
@@ -22,3 +22,8 @@ &tpd12s015 {
&
mmc1
{
vmmc
-
supply
=
<&
ldo1_reg
>;
};
/*
errata
i880
"Ethernet RGMII2 Limited to 10/100 Mbps"
*/
&
phy1
{
max
-
speed
=
<
100
>;
};
arch/arm/boot/dts/am57xx-idk-common.dtsi
View file @
1bd49882
...
...
@@ -14,6 +14,10 @@ aliases {
rtc1 = &rtc;
};
chosen {
stdout-path = &uart3;
};
vmain: fixedregulator-vmain {
compatible = "regulator-fixed";
regulator-name = "VMAIN";
...
...
arch/arm/boot/dts/dra7-evm.dts
View file @
1bd49882
...
...
@@ -21,6 +21,10 @@ memory@0 {
reg
=
<
0x0
0x80000000
0x0
0x60000000
>;
/*
1536
MB
*/
};
chosen
{
stdout
-
path
=
&
uart1
;
};
evm_3v3_sd
:
fixedregulator
-
sd
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"evm_3v3_sd"
;
...
...
@@ -151,204 +155,6 @@ USER2 {
};
&
dra7_pmx_core
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
vtt_pin
>;
vtt_pin
:
pinmux_vtt_pin
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x37b4
,
PIN_OUTPUT
|
MUX_MODE14
)
/*
spi1_cs1
.
gpio7_11
*/
>;
};
i2c1_pins
:
pinmux_i2c1_pins
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x3800
,
PIN_INPUT
|
MUX_MODE0
)
/*
i2c1_sda
*/
DRA7XX_CORE_IOPAD
(
0x3804
,
PIN_INPUT
|
MUX_MODE0
)
/*
i2c1_scl
*/
>;
};
i2c2_pins
:
pinmux_i2c2_pins
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x3808
,
PIN_INPUT
|
MUX_MODE0
)
/*
i2c2_sda
*/
DRA7XX_CORE_IOPAD
(
0x380c
,
PIN_INPUT
|
MUX_MODE0
)
/*
i2c2_scl
*/
>;
};
i2c3_pins
:
pinmux_i2c3_pins
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x3688
,
PIN_INPUT
|
MUX_MODE9
)
/*
gpio6_14
.
i2c3_sda
*/
DRA7XX_CORE_IOPAD
(
0x368c
,
PIN_INPUT
|
MUX_MODE9
)
/*
gpio6_15
.
i2c3_scl
*/
>;
};
mcspi1_pins
:
pinmux_mcspi1_pins
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x37a4
,
PIN_INPUT
|
MUX_MODE0
)
/*
spi1_sclk
*/
DRA7XX_CORE_IOPAD
(
0x37a8
,
PIN_INPUT
|
MUX_MODE0
)
/*
spi1_d1
*/
DRA7XX_CORE_IOPAD
(
0x37ac
,
PIN_INPUT
|
MUX_MODE0
)
/*
spi1_d0
*/
DRA7XX_CORE_IOPAD
(
0x37b0
,
PIN_INPUT_SLEW
|
MUX_MODE0
)
/*
spi1_cs0
*/
DRA7XX_CORE_IOPAD
(
0x37b8
,
PIN_INPUT_SLEW
|
MUX_MODE6
)
/*
spi1_cs2
.
hdmi1_hpd
*/
DRA7XX_CORE_IOPAD
(
0x37bc
,
PIN_INPUT_SLEW
|
MUX_MODE6
)
/*
spi1_cs3
.
hdmi1_cec
*/
>;
};
mcspi2_pins
:
pinmux_mcspi2_pins
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x37c0
,
PIN_INPUT
|
MUX_MODE0
)
/*
spi2_sclk
*/
DRA7XX_CORE_IOPAD
(
0x37c4
,
PIN_INPUT_SLEW
|
MUX_MODE0
)
/*
spi2_d1
*/
DRA7XX_CORE_IOPAD
(
0x37c8
,
PIN_INPUT_SLEW
|
MUX_MODE0
)
/*
spi2_d1
*/
DRA7XX_CORE_IOPAD
(
0x37cc
,
PIN_INPUT_SLEW
|
MUX_MODE0
)
/*
spi2_cs0
*/
>;
};
uart1_pins
:
pinmux_uart1_pins
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x37e0
,
PIN_INPUT_SLEW
|
MUX_MODE0
)
/*
uart1_rxd
*/
DRA7XX_CORE_IOPAD
(
0x37e4
,
PIN_INPUT_SLEW
|
MUX_MODE0
)
/*
uart1_txd
*/
DRA7XX_CORE_IOPAD
(
0x37e8
,
PIN_INPUT
|
MUX_MODE3
)
/*
uart1_ctsn
*/
DRA7XX_CORE_IOPAD
(
0x37ec
,
PIN_INPUT
|
MUX_MODE3
)
/*
uart1_rtsn
*/
>;
};
uart2_pins
:
pinmux_uart2_pins
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x37f0
,
PIN_INPUT
|
MUX_MODE0
)
/*
uart2_rxd
*/
DRA7XX_CORE_IOPAD
(
0x37f4
,
PIN_INPUT
|
MUX_MODE0
)
/*
uart2_txd
*/
DRA7XX_CORE_IOPAD
(
0x37f8
,
PIN_INPUT
|
MUX_MODE0
)
/*
uart2_ctsn
*/
DRA7XX_CORE_IOPAD
(
0x37fc
,
PIN_INPUT
|
MUX_MODE0
)
/*
uart2_rtsn
*/
>;
};
uart3_pins
:
pinmux_uart3_pins
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x3648
,
PIN_INPUT_SLEW
|
MUX_MODE0
)
/*
uart3_rxd
*/
DRA7XX_CORE_IOPAD
(
0x364c
,
PIN_INPUT_SLEW
|
MUX_MODE0
)
/*
uart3_txd
*/
>;
};
usb1_pins
:
pinmux_usb1_pins
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x3680
,
PIN_INPUT_SLEW
|
MUX_MODE0
)
/*
usb1_drvvbus
*/
>;
};
usb2_pins
:
pinmux_usb2_pins
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x3684
,
PIN_INPUT_SLEW
|
MUX_MODE0
)
/*
usb2_drvvbus
*/
>;
};
nand_flash_x16
:
nand_flash_x16
{
/*
On
DRA7
EVM
,
GPMC_WPN
and
NAND_BOOTn
comes
from
DIP
switch
*
So
NAND
flash
requires
following
switch
settings
:
*
SW5
.1
(
NAND_BOOTn
)
=
ON
(
LOW
)
*
SW5
.9
(
GPMC_WPN
)
=
OFF
(
HIGH
)
*/
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x3400
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad0
*/
DRA7XX_CORE_IOPAD
(
0x3404
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad1
*/
DRA7XX_CORE_IOPAD
(
0x3408
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad2
*/
DRA7XX_CORE_IOPAD
(
0x340c
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad3
*/
DRA7XX_CORE_IOPAD
(
0x3410
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad4
*/
DRA7XX_CORE_IOPAD
(
0x3414
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad5
*/
DRA7XX_CORE_IOPAD
(
0x3418
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad6
*/
DRA7XX_CORE_IOPAD
(
0x341c
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad7
*/
DRA7XX_CORE_IOPAD
(
0x3420
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad8
*/
DRA7XX_CORE_IOPAD
(
0x3424
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad9
*/
DRA7XX_CORE_IOPAD
(
0x3428
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad10
*/
DRA7XX_CORE_IOPAD
(
0x342c
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad11
*/
DRA7XX_CORE_IOPAD
(
0x3430
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad12
*/
DRA7XX_CORE_IOPAD
(
0x3434
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad13
*/
DRA7XX_CORE_IOPAD
(
0x3438
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad14
*/
DRA7XX_CORE_IOPAD
(
0x343c
,
PIN_INPUT
|
MUX_MODE0
)
/*
gpmc_ad15
*/
DRA7XX_CORE_IOPAD
(
0x34d8
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
gpmc_wait0
*/
DRA7XX_CORE_IOPAD
(
0x34cc
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
gpmc_wen
*/
DRA7XX_CORE_IOPAD
(
0x34b4
,
PIN_OUTPUT_PULLUP
|
MUX_MODE0
)
/*
gpmc_csn0
*/
DRA7XX_CORE_IOPAD
(
0x34c4
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
gpmc_advn_ale
*/
DRA7XX_CORE_IOPAD
(
0x34c8
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
gpmc_oen_ren
*/
DRA7XX_CORE_IOPAD
(
0x34d0
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
gpmc_be0n_cle
*/
>;
};
cpsw_default
:
cpsw_default
{
pinctrl
-
single
,
pins
=
<
/*
Slave
1
*/
DRA7XX_CORE_IOPAD
(
0x3650
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
rgmii0_txc
.
rgmii0_txc
*/
DRA7XX_CORE_IOPAD
(
0x3654
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
rgmii0_txctl
.
rgmii0_txctl
*/
DRA7XX_CORE_IOPAD
(
0x3658
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
rgmii0_td3
.
rgmii0_txd3
*/
DRA7XX_CORE_IOPAD
(
0x365c
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
rgmii0_txd2
.
rgmii0_txd2
*/
DRA7XX_CORE_IOPAD
(
0x3660
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
rgmii0_txd1
.
rgmii0_txd1
*/
DRA7XX_CORE_IOPAD
(
0x3664
,
PIN_OUTPUT
|
MUX_MODE0
)
/*
rgmii0_txd0
.
rgmii0_txd0
*/
DRA7XX_CORE_IOPAD
(
0x3668
,
PIN_INPUT
|
MUX_MODE0
)
/*
rgmii0_rxc
.
rgmii0_rxc
*/
DRA7XX_CORE_IOPAD
(
0x366c
,
PIN_INPUT
|
MUX_MODE0
)
/*
rgmii0_rxctl
.
rgmii0_rxctl
*/
DRA7XX_CORE_IOPAD
(
0x3670
,
PIN_INPUT
|
MUX_MODE0
)
/*
rgmii0_rxd3
.
rgmii0_rxd3
*/
DRA7XX_CORE_IOPAD
(
0x3674
,
PIN_INPUT
|
MUX_MODE0
)
/*
rgmii0_rxd2
.
rgmii0_rxd2
*/
DRA7XX_CORE_IOPAD
(
0x3678
,
PIN_INPUT
|
MUX_MODE0
)
/*
rgmii0_rxd1
.
rgmii0_rxd1
*/
DRA7XX_CORE_IOPAD
(
0x367c
,
PIN_INPUT
|
MUX_MODE0
)
/*
rgmii0_rxd0
.
rgmii0_rxd0
*/
/*
Slave
2
*/
DRA7XX_CORE_IOPAD
(
0x3598
,
PIN_OUTPUT
|
MUX_MODE3
)
/*
vin2a_d12
.
rgmii1_txc
*/
DRA7XX_CORE_IOPAD
(
0x359c
,
PIN_OUTPUT
|
MUX_MODE3
)
/*
vin2a_d13
.
rgmii1_tctl
*/
DRA7XX_CORE_IOPAD
(
0x35a0
,
PIN_OUTPUT
|
MUX_MODE3
)
/*
vin2a_d14
.
rgmii1_td3
*/
DRA7XX_CORE_IOPAD
(
0x35a4
,
PIN_OUTPUT
|
MUX_MODE3
)
/*
vin2a_d15
.
rgmii1_td2
*/
DRA7XX_CORE_IOPAD
(
0x35a8
,
PIN_OUTPUT
|
MUX_MODE3
)
/*
vin2a_d16
.
rgmii1_td1
*/
DRA7XX_CORE_IOPAD
(
0x35ac
,
PIN_OUTPUT
|
MUX_MODE3
)
/*
vin2a_d17
.
rgmii1_td0
*/
DRA7XX_CORE_IOPAD
(
0x35b0
,
PIN_INPUT
|
MUX_MODE3
)
/*
vin2a_d18
.
rgmii1_rclk
*/
DRA7XX_CORE_IOPAD
(
0x35b4
,
PIN_INPUT
|
MUX_MODE3
)
/*
vin2a_d19
.
rgmii1_rctl
*/
DRA7XX_CORE_IOPAD
(
0x35b8
,
PIN_INPUT
|
MUX_MODE3
)
/*
vin2a_d20
.
rgmii1_rd3
*/
DRA7XX_CORE_IOPAD
(
0x35bc
,
PIN_INPUT
|
MUX_MODE3
)
/*
vin2a_d21
.
rgmii1_rd2
*/
DRA7XX_CORE_IOPAD
(
0x35c0
,
PIN_INPUT
|
MUX_MODE3
)
/*
vin2a_d22
.
rgmii1_rd1
*/
DRA7XX_CORE_IOPAD
(
0x35c4
,
PIN_INPUT
|
MUX_MODE3
)
/*
vin2a_d23
.
rgmii1_rd0
*/
>;
};
cpsw_sleep
:
cpsw_sleep
{
pinctrl
-
single
,
pins
=
<
/*
Slave
1
*/
DRA7XX_CORE_IOPAD
(
0x3650
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x3654
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x3658
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x365c
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x3660
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x3664
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x3668
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x366c
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x3670
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x3674
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x3678
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x367c
,
MUX_MODE15
)
/*
Slave
2
*/
DRA7XX_CORE_IOPAD
(
0x3598
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x359c
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x35a0
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x35a4
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x35a8
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x35ac
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x35b0
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x35b4
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x35b8
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x35bc
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x35c0
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x35c4
,
MUX_MODE15
)
>;
};
davinci_mdio_default
:
davinci_mdio_default
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x363c
,
PIN_OUTPUT_PULLUP
|
MUX_MODE0
)
/*
mdio_d
.
mdio_d
*/
DRA7XX_CORE_IOPAD
(
0x3640
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
mdio_clk
.
mdio_clk
*/
>;
};
davinci_mdio_sleep
:
davinci_mdio_sleep
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x363c
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x3640
,
MUX_MODE15
)
>;
};
dcan1_pins_default
:
dcan1_pins_default
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x37d0
,
PIN_OUTPUT_PULLUP
|
MUX_MODE0
)
/*
dcan1_tx
*/
...
...
@@ -363,36 +169,36 @@ DRA7XX_CORE_IOPAD(0x3818, MUX_MODE15 | PULL_UP) /* wakeup0.off */
>;
};
atl_pins
:
pinmux_atl_pins
{
mmc1_pins_default
:
mmc1_pins_default
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x3698
,
PIN_OUTPUT
|
MUX_MODE5
)
/*
xref_clk1
.
atl_clk1
*/
DRA7XX_CORE_IOPAD
(
0x369c
,
PIN_OUTPUT
|
MUX_MODE5
)
/*
xref_clk2
.
atl_clk2
*/
DRA7XX_CORE_IOPAD
(
0x376c
,
PIN_INPUT
|
MUX_MODE14
)
/*
mmc1sdcd
.
gpio219
*/
DRA7XX_CORE_IOPAD
(
0x3754
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
mmc1_clk
.
clk
*/
DRA7XX_CORE_IOPAD
(
0x3758
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
mmc1_cmd
.
cmd
*/
DRA7XX_CORE_IOPAD
(
0x375c
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
mmc1_dat0
.
dat0
*/
DRA7XX_CORE_IOPAD
(
0x3760
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
mmc1_dat1
.
dat1
*/
DRA7XX_CORE_IOPAD
(
0x3764
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
mmc1_dat2
.
dat2
*/
DRA7XX_CORE_IOPAD
(
0x3768
,
PIN_INPUT_PULLUP
|
MUX_MODE0
)
/*
mmc1_dat3
.
dat3
*/
>;
};
m
casp3_pins
:
pinmux_mcasp3_pins
{
m
mc2_pins_default
:
mmc2_pins_default
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x3724
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE0
)
/*
mcasp3_aclkx
*/
DRA7XX_CORE_IOPAD
(
0x3728
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE0
)
/*
mcasp3_fsx
*/
DRA7XX_CORE_IOPAD
(
0x372c
,
PIN_OUTPUT_PULLDOWN
|
MUX_MODE0
)
/*
mcasp3_axr0
*/
DRA7XX_CORE_IOPAD
(
0x3730
,
PIN_INPUT_PULLDOWN
|
MUX_MODE0
)
/*
mcasp3_axr1
*/
>;
};
mcasp3_sleep_pins
:
pinmux_mcasp3_sleep_pins
{
pinctrl
-
single
,
pins
=
<
DRA7XX_CORE_IOPAD
(
0x3724
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x3728
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x372c
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x3730
,
MUX_MODE15
)
DRA7XX_CORE_IOPAD
(
0x349c
,
PIN_INPUT_PULLUP
|
MUX_MODE1
)
/*
gpmc_a23
.
mmc2_clk
*/
DRA7XX_CORE_IOPAD
(
0x34b0
,
PIN_INPUT_PULLUP
|
MUX_MODE1
)
/*
gpmc_cs1
.
mmc2_cmd
*/
DRA7XX_CORE_IOPAD
(
0x34a0
,
PIN_INPUT_PULLUP
|
MUX_MODE1
)
/*
gpmc_a24
.
mmc2_dat0
*/
DRA7XX_CORE_IOPAD
(
0x34a4
,
PIN_INPUT_PULLUP
|
MUX_MODE1
)
/*
gpmc_a25
.
mmc2_dat1
*/
DRA7XX_CORE_IOPAD
(
0x34a8
,
PIN_INPUT_PULLUP
|
MUX_MODE1
)
/*
gpmc_a26
.
mmc2_dat2
*/
DRA7XX_CORE_IOPAD
(
0x34ac
,
PIN_INPUT_PULLUP
|
MUX_MODE1
)
/*
gpmc_a27
.
mmc2_dat3
*/
DRA7XX_CORE_IOPAD
(
0x348c
,
PIN_INPUT_PULLUP
|
MUX_MODE1
)
/*
gpmc_a19
.
mmc2_dat4
*/
DRA7XX_CORE_IOPAD
(
0x3490
,
PIN_INPUT_PULLUP
|
MUX_MODE1
)
/*
gpmc_a20
.
mmc2_dat5
*/
DRA7XX_CORE_IOPAD
(
0x3494
,
PIN_INPUT_PULLUP
|
MUX_MODE1
)
/*
gpmc_a21
.
mmc2_dat6
*/
DRA7XX_CORE_IOPAD
(
0x3498
,
PIN_INPUT_PULLUP
|
MUX_MODE1
)
/*
gpmc_a22
.
mmc2_dat7
*/
>;
};
};
&
i2c1
{
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
i2c1_pins
>;
clock
-
frequency
=
<
400000
>;
tps659038
:
tps659038
@
58
{
...
...
@@ -581,8 +387,6 @@ tlv320aic3106: tlv320aic3106@19 {
&
i2c2
{
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
i2c2_pins
>;
clock
-
frequency
=
<
400000
>;
pcf_hdmi
:
gpio
@
26
{
...
...
@@ -602,45 +406,35 @@ p1 {
&
i2c3
{
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
i2c3_pins
>;
clock
-
frequency
=
<
400000
>;
};
&
mcspi1
{
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
mcspi1_pins
>;
};
&
mcspi2
{
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
mcspi2_pins
>;
};
&
uart1
{
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
uart1_pins
>;
interrupts
-
extended
=
<&
crossbar_mpu
GIC_SPI
67
IRQ_TYPE_LEVEL_HIGH
>,
<&
dra7_pmx_core
0x3e0
>;
};
&
uart2
{
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
uart2_pins
>;
};
&
uart3
{
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
uart3_pins
>;
};
&
mmc1
{
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
mmc1_pins_default
>;
vmmc
-
supply
=
<&
evm_3v3_sd
>;
vmmc_aux
-
supply
=
<&
ldo1_reg
>;
bus
-
width
=
<
4
>;
...
...
@@ -653,6 +447,8 @@ &mmc1 {
&
mmc2
{
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
mmc2_pins_default
>;
vmmc
-
supply
=
<&
evm_3v3_sw
>;
bus
-
width
=
<
8
>;
};
...
...
@@ -732,14 +528,10 @@ &omap_dwc3_2 {
&
usb1
{
dr_mode
=
"peripheral"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
usb1_pins
>;
};
&
usb2
{
dr_mode
=
"host"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
usb2_pins
>;
};
&
elm
{
...
...
@@ -747,9 +539,12 @@ &elm {
};
&
gpmc
{
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
nand_flash_x16
>;
/*
*
For
the
existing
IOdelay
configuration
via
U
-
Boot
we
don
't
* support NAND on dra7-evm. Keep it disabled. Enabling it
* requires a different configuration by U-Boot.
*/
status = "disabled";
ranges = <0 0 0x08000000 0x01000000>; /* minimum GPMC partition = 16MB */
nand@0,0 {
compatible = "ti,omap2-nand";
...
...
@@ -845,9 +640,6 @@ &gpio7 {
&mac {
status = "okay";
pinctrl
-
names
=
"default"
,
"sleep"
;
pinctrl
-
0
=
<&
cpsw_default
>;
pinctrl
-
1
=
<&
cpsw_sleep
>;
dual_emac;
};
...
...
@@ -863,12 +655,6 @@ &cpsw_emac1 {
dual_emac_res_vlan = <2>;
};
&
davinci_mdio
{
pinctrl
-
names
=
"default"
,
"sleep"
;
pinctrl
-
0
=
<&
davinci_mdio_default
>;
pinctrl
-
1
=
<&
davinci_mdio_sleep
>;
};
&dcan1 {
status = "ok";
pinctrl-names = "default", "sleep", "active";
...
...
@@ -878,9 +664,6 @@ &dcan1 {
};
&atl {
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
atl_pins
>;
assigned-clocks = <&abe_dpll_sys_clk_mux>,
<&atl_gfclk_mux>,
<&dpll_abe_ck>,
...
...
@@ -899,9 +682,6 @@ atl2 {
&mcasp3 {
#sound-dai-cells = <0>;
pinctrl
-
names
=
"default"
,
"sleep"
;
pinctrl
-
0
=
<&
mcasp3_pins
>;
pinctrl
-
1
=
<&
mcasp3_sleep_pins
>;
assigned-clocks = <&mcasp3_ahclkx_mux>;
assigned-clock-parents = <&atl_clkin2_ck>;
...
...
arch/arm/boot/dts/dra71-evm.dts
View file @
1bd49882
...
...
@@ -138,6 +138,11 @@ lp8732_ldo1_reg: ldo1 {
};
};
&
pcf_lcd
{
interrupt
-
parent
=
<&
gpio7
>;
interrupts
=
<
31
IRQ_TYPE_EDGE_FALLING
>;
};
&
pcf_gpio_21
{
interrupt
-
parent
=
<&
gpio7
>;
interrupts
=
<
31
IRQ_TYPE_EDGE_FALLING
>;
...
...
arch/arm/boot/dts/dra72-evm-common.dtsi
View file @
1bd49882
...
...
@@ -18,6 +18,10 @@ aliases {
display0 = &hdmi0;
};
chosen {
stdout-path = &uart1;
};
evm_12v0: fixedregulator-evm12v0 {
/* main supply */
compatible = "regulator-fixed";
...
...
@@ -216,6 +220,15 @@ &i2c1 {
status = "okay";
clock-frequency = <400000>;
pcf_lcd: gpio@20 {
compatible = "nxp,pcf8575";
reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};
pcf_gpio_21: gpio@21 {
compatible = "ti,pcf8575", "nxp,pcf8575";
reg = <0x21>;
...
...
@@ -280,7 +293,12 @@ &elm {
};
&gpmc {
status = "okay";
/*
* For the existing IOdelay configuration via U-Boot we don't
* support NAND on dra72-evm. Keep it disabled. Enabling it
* requires a different configuration by U-Boot.
*/
status = "disabled";
ranges = <0 0 0x08000000 0x01000000>; /* minimum GPMC partition = 16MB */
nand@0,0 {
/* To use NAND, DIP switch SW5 must be set like so:
...
...
arch/arm/boot/dts/dra72-evm-revc.dts
View file @
1bd49882
...
...
@@ -68,6 +68,8 @@ dp83867_0: ethernet-phy@2 {
ti
,
tx
-
internal
-
delay
=
<
DP83867_RGMIIDCTL_250_PS
>;
ti
,
fifo
-
depth
=
<
DP83867_PHYCR_FIFO_DEPTH_8_B_NIB
>;
ti
,
min
-
output
-
impedance
;
interrupt
-
parent
=
<&
gpio6
>;
interrupts
=
<
16
IRQ_TYPE_EDGE_FALLING
>;
};
dp83867_1
:
ethernet
-
phy
@
3
{
...
...
@@ -76,5 +78,7 @@ dp83867_1: ethernet-phy@3 {
ti
,
tx
-
internal
-
delay
=
<
DP83867_RGMIIDCTL_250_PS
>;
ti
,
fifo
-
depth
=
<
DP83867_PHYCR_FIFO_DEPTH_8_B_NIB
>;
ti
,
min
-
output
-
impedance
;
interrupt
-
parent
=
<&
gpio6
>;
interrupts
=
<
16
IRQ_TYPE_EDGE_FALLING
>;
};
};
arch/arm/boot/dts/omap3-beagle-xm.dts
View file @
1bd49882
...
...
@@ -27,6 +27,7 @@ memory@80000000 {
aliases
{
display0
=
&
dvi0
;
display1
=
&
tv0
;
ethernet
=
&
ethernet
;
};
leds
{
...
...
@@ -348,6 +349,21 @@ &usbhshost {
&
usbhsehci
{
phys
=
<
0
&
hsusb2_phy
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
hub
@
2
{
compatible
=
"usb424,9514"
;
reg
=
<
2
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
ethernet
:
usbether
@
1
{
compatible
=
"usb424,ec00"
;
reg
=
<
1
>;
};
};
};
&
vaux2
{
...
...
arch/arm/boot/dts/omap3-igep.dtsi
View file @
1bd49882
...
...
@@ -126,27 +126,6 @@ nand@0,0 {
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "SPL";
reg = <0 0x100000>;
};
partition@80000 {
label = "U-Boot";
reg = <0x100000 0x180000>;
};
partition@1c0000 {
label = "Environment";
reg = <0x280000 0x100000>;
};
partition@280000 {
label = "Kernel";
reg = <0x380000 0x300000>;
};
partition@780000 {
label = "Filesystem";
reg = <0x680000 0x1f980000>;
};
};
};
...
...
arch/arm/boot/dts/omap3-n900.dts
View file @
1bd49882
...
...
@@ -47,7 +47,7 @@ leds {
compatible
=
"gpio-leds"
;
heartbeat
{
label
=
"debug::sleep"
;
gpios
=
<&
gpio6
2
GPIO_ACTIVE_HIGH
>;
/*
gpio
162
*/
gpios
=
<&
gpio6
2
GPIO_ACTIVE_HIGH
>;
/*
162
*/
linux
,
default
-
trigger
=
"default-on"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
debug_leds
>;
...
...
@@ -625,6 +625,7 @@ bq27200: bq27200@55 {
reg
=
<
0x55
>;
};
/*
Stereo
headphone
amplifier
*/
tpa6130a2
:
tpa6130a2
@
60
{
compatible
=
"ti,tpa6130a2"
;
reg
=
<
0x60
>;
...
...
arch/arm/boot/dts/omap4-panda-common.dtsi
View file @
1bd49882
...
...
@@ -16,6 +16,7 @@ memory@80000000 {
aliases {
display0 = &dvi0;
display1 = &hdmi0;
ethernet = ðernet;
};
leds: leds {
...
...
@@ -520,6 +521,21 @@ &usbhshost {
&usbhsehci {
phys = <&hsusb1_phy>;
#address-cells = <1>;
#size-cells = <0>;
hub@1 {
compatible = "usb424,9514";
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
ethernet: usbether@1 {
compatible = "usb424,ec00";
reg = <1>;
};
};
};
&dss {
...
...
arch/arm/boot/dts/omap5-igep0050.dts
View file @
1bd49882
...
...
@@ -19,6 +19,10 @@ memory@80000000 {
reg
=
<
0x0
0x80000000
0
0x7f000000
>;
/*
2032
MB
*/
};
aliases
{
ethernet
=
&
ethernet
;
};
gpio_keys
{
compatible
=
"gpio-keys"
;
pinctrl
-
0
=
<&
power_button_pin
>;
...
...
@@ -116,3 +120,20 @@ OMAP5_IOPAD(0x1c4, PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_144 */
OMAP5_IOPAD
(
0x1ca
,
PIN_OUTPUT
|
MUX_MODE6
)
/*
perslimbus2_clock
.
gpio5_145
*/
>;
};
&
usbhsehci
{
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
hub
@
2
{
compatible
=
"usb424,3503"
;
reg
=
<
2
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
ethernet
:
usbether
@
3
{
compatible
=
"usb424,7500"
;
reg
=
<
3
>;
};
};
};
arch/arm/boot/dts/omap5-uevm.dts
View file @
1bd49882
...
...
@@ -18,6 +18,10 @@ memory@80000000 {
reg
=
<
0
0x80000000
0
0x7f000000
>;
/*
2032
MB
*/
};
aliases
{
ethernet
=
&
ethernet
;
};
leds
{
compatible
=
"gpio-leds"
;
led1
{
...
...
@@ -164,6 +168,23 @@ OMAP5_IOPAD(0x1be, PIN_OUTPUT | MUX_MODE6) /* mcspi1_somi.gpio5_141 */
>;
};
&
usbhsehci
{
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
hub
@
2
{
compatible
=
"usb424,3503"
;
reg
=
<
2
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
};
ethernet
:
usbether
@
3
{
compatible
=
"usb424,9730"
;
reg
=
<
3
>;
};
};
&
wlcore
{
compatible
=
"ti,wl1837"
;
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment