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
26c23ee6
Commit
26c23ee6
authored
Feb 26, 2016
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'omap-for-v4.6/dt-gpmc' into omap-for-v4.6/dt
parents
b9d3ec1d
44e47164
Changes
33
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
142 additions
and
56 deletions
+142
-56
arch/arm/boot/dts/am335x-baltos-ir5221.dts
arch/arm/boot/dts/am335x-baltos-ir5221.dts
+5
-4
arch/arm/boot/dts/am335x-chilisom.dtsi
arch/arm/boot/dts/am335x-chilisom.dtsi
+5
-3
arch/arm/boot/dts/am335x-cm-t335.dts
arch/arm/boot/dts/am335x-cm-t335.dts
+5
-4
arch/arm/boot/dts/am335x-evm.dts
arch/arm/boot/dts/am335x-evm.dts
+4
-3
arch/arm/boot/dts/am335x-igep0033.dtsi
arch/arm/boot/dts/am335x-igep0033.dtsi
+5
-3
arch/arm/boot/dts/am335x-phycore-som.dtsi
arch/arm/boot/dts/am335x-phycore-som.dtsi
+5
-3
arch/arm/boot/dts/am33xx.dtsi
arch/arm/boot/dts/am33xx.dtsi
+2
-0
arch/arm/boot/dts/am4372.dtsi
arch/arm/boot/dts/am4372.dtsi
+2
-0
arch/arm/boot/dts/am437x-cm-t43.dts
arch/arm/boot/dts/am437x-cm-t43.dts
+5
-6
arch/arm/boot/dts/am437x-gp-evm.dts
arch/arm/boot/dts/am437x-gp-evm.dts
+5
-3
arch/arm/boot/dts/am43x-epos-evm.dts
arch/arm/boot/dts/am43x-epos-evm.dts
+5
-3
arch/arm/boot/dts/dm8168-evm.dts
arch/arm/boot/dts/dm8168-evm.dts
+5
-3
arch/arm/boot/dts/dm816x.dtsi
arch/arm/boot/dts/dm816x.dtsi
+2
-0
arch/arm/boot/dts/dra7-evm.dts
arch/arm/boot/dts/dra7-evm.dts
+5
-2
arch/arm/boot/dts/dra7.dtsi
arch/arm/boot/dts/dra7.dtsi
+2
-0
arch/arm/boot/dts/dra72-evm.dts
arch/arm/boot/dts/dra72-evm.dts
+5
-2
arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
+2
-1
arch/arm/boot/dts/logicpd-torpedo-som.dtsi
arch/arm/boot/dts/logicpd-torpedo-som.dtsi
+6
-2
arch/arm/boot/dts/omap3-beagle.dts
arch/arm/boot/dts/omap3-beagle.dts
+4
-1
arch/arm/boot/dts/omap3-cm-t3x.dtsi
arch/arm/boot/dts/omap3-cm-t3x.dtsi
+5
-1
arch/arm/boot/dts/omap3-devkit8000-common.dtsi
arch/arm/boot/dts/omap3-devkit8000-common.dtsi
+4
-0
arch/arm/boot/dts/omap3-evm-37xx.dts
arch/arm/boot/dts/omap3-evm-37xx.dts
+6
-2
arch/arm/boot/dts/omap3-gta04.dtsi
arch/arm/boot/dts/omap3-gta04.dtsi
+4
-0
arch/arm/boot/dts/omap3-igep.dtsi
arch/arm/boot/dts/omap3-igep.dtsi
+5
-1
arch/arm/boot/dts/omap3-igep0020-common.dtsi
arch/arm/boot/dts/omap3-igep0020-common.dtsi
+2
-2
arch/arm/boot/dts/omap3-igep0030-common.dtsi
arch/arm/boot/dts/omap3-igep0030-common.dtsi
+4
-0
arch/arm/boot/dts/omap3-ldp.dts
arch/arm/boot/dts/omap3-ldp.dts
+7
-3
arch/arm/boot/dts/omap3-lilly-a83x.dtsi
arch/arm/boot/dts/omap3-lilly-a83x.dtsi
+5
-1
arch/arm/boot/dts/omap3-overo-base.dtsi
arch/arm/boot/dts/omap3-overo-base.dtsi
+5
-1
arch/arm/boot/dts/omap3-pandora-common.dtsi
arch/arm/boot/dts/omap3-pandora-common.dtsi
+4
-0
arch/arm/boot/dts/omap3-tao3530.dtsi
arch/arm/boot/dts/omap3-tao3530.dtsi
+5
-1
arch/arm/boot/dts/omap3.dtsi
arch/arm/boot/dts/omap3.dtsi
+2
-0
arch/arm/boot/dts/omap3430-sdp.dts
arch/arm/boot/dts/omap3430-sdp.dts
+5
-1
No files found.
arch/arm/boot/dts/am335x-baltos-ir5221.dts
View file @
26c23ee6
...
...
@@ -236,7 +236,11 @@ &gpmc {
status
=
"okay"
;
nand
@
0
,
0
{
reg
=
<
0
0
0
>;
/*
CS0
,
offset
0
*/
compatible
=
"ti,omap2-nand"
;
reg
=
<
0
0
4
>;
/*
CS0
,
offset
0
,
IO
size
4
*/
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
nand
-
bus
-
width
=
<
8
>;
ti
,
nand
-
ecc
-
opt
=
"bch8"
;
ti
,
nand
-
xfer
-
type
=
"polled"
;
...
...
@@ -257,12 +261,9 @@ nand@0,0 {
gpmc
,
access
-
ns
=
<
64
>;
gpmc
,
rd
-
cycle
-
ns
=
<
82
>;
gpmc
,
wr
-
cycle
-
ns
=
<
82
>;
gpmc
,
wait
-
on
-
read
=
"true"
;
gpmc
,
wait
-
on
-
write
=
"true"
;
gpmc
,
bus
-
turnaround
-
ns
=
<
0
>;
gpmc
,
cycle2cycle
-
delay
-
ns
=
<
0
>;
gpmc
,
clk
-
activation
-
ns
=
<
0
>;
gpmc
,
wait
-
monitoring
-
ns
=
<
0
>;
gpmc
,
wr
-
access
-
ns
=
<
40
>;
gpmc
,
wr
-
data
-
mux
-
bus
-
ns
=
<
0
>;
...
...
arch/arm/boot/dts/am335x-chilisom.dtsi
View file @
26c23ee6
...
...
@@ -7,6 +7,7 @@
*
published
by
the
Free
Software
Foundation
.
*/
#
include
"am33xx.dtsi"
#
include
<
dt
-
bindings
/
interrupt
-
controller
/
irq
.
h
>
/
{
model
=
"Grinn AM335x ChiliSOM"
;
...
...
@@ -218,7 +219,11 @@ &gpmc {
pinctrl
-
0
=
<&
nandflash_pins
>;
ranges
=
<
0
0
0x08000000
0x01000000
>;
/*
CS0
0
@
addr
0x08000000
,
size
0x01000000
*/
nand
@
0
,
0
{
compatible
=
"ti,omap2-nand"
;
reg
=
<
0
0
4
>;
/*
CS0
,
offset
0
,
IO
size
4
*/
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
ti
,
nand
-
ecc
-
opt
=
"bch8"
;
ti
,
elm
-
id
=
<&
elm
>;
nand
-
bus
-
width
=
<
8
>;
...
...
@@ -237,12 +242,9 @@ nand@0,0 {
gpmc
,
access
-
ns
=
<
64
>;
gpmc
,
rd
-
cycle
-
ns
=
<
82
>;
gpmc
,
wr
-
cycle
-
ns
=
<
82
>;
gpmc
,
wait
-
on
-
read
=
"true"
;
gpmc
,
wait
-
on
-
write
=
"true"
;
gpmc
,
bus
-
turnaround
-
ns
=
<
0
>;
gpmc
,
cycle2cycle
-
delay
-
ns
=
<
0
>;
gpmc
,
clk
-
activation
-
ns
=
<
0
>;
gpmc
,
wait
-
monitoring
-
ns
=
<
0
>;
gpmc
,
wr
-
access
-
ns
=
<
40
>;
gpmc
,
wr
-
data
-
mux
-
bus
-
ns
=
<
0
>;
};
...
...
arch/arm/boot/dts/am335x-cm-t335.dts
View file @
26c23ee6
...
...
@@ -406,7 +406,11 @@ &gpmc {
pinctrl
-
0
=
<&
nandflash_pins
>;
ranges
=
<
0
0
0x08000000
0x10000000
>;
/*
CS0
:
NAND
*/
nand
@
0
,
0
{
reg
=
<
0
0
0
>;
/*
CS0
,
offset
0
*/
compatible
=
"ti,omap2-nand"
;
reg
=
<
0
0
4
>;
/*
CS0
,
offset
0
,
IO
size
4
*/
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
ti
,
nand
-
ecc
-
opt
=
"bch8"
;
ti
,
elm
-
id
=
<&
elm
>;
nand
-
bus
-
width
=
<
8
>;
...
...
@@ -425,12 +429,9 @@ nand@0,0 {
gpmc
,
access
-
ns
=
<
64
>;
gpmc
,
rd
-
cycle
-
ns
=
<
82
>;
gpmc
,
wr
-
cycle
-
ns
=
<
82
>;
gpmc
,
wait
-
on
-
read
=
"true"
;
gpmc
,
wait
-
on
-
write
=
"true"
;
gpmc
,
bus
-
turnaround
-
ns
=
<
0
>;
gpmc
,
cycle2cycle
-
delay
-
ns
=
<
0
>;
gpmc
,
clk
-
activation
-
ns
=
<
0
>;
gpmc
,
wait
-
monitoring
-
ns
=
<
0
>;
gpmc
,
wr
-
access
-
ns
=
<
40
>;
gpmc
,
wr
-
data
-
mux
-
bus
-
ns
=
<
0
>;
/*
MTD
partition
table
*/
...
...
arch/arm/boot/dts/am335x-evm.dts
View file @
26c23ee6
...
...
@@ -519,7 +519,11 @@ &gpmc {
pinctrl
-
0
=
<&
nandflash_pins_s0
>;
ranges
=
<
0
0
0x08000000
0x1000000
>;
/*
CS0
:
16
MB
for
NAND
*/
nand
@
0
,
0
{
compatible
=
"ti,omap2-nand"
;
reg
=
<
0
0
4
>;
/*
CS0
,
offset
0
,
IO
size
4
*/
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
ti
,
nand
-
ecc
-
opt
=
"bch8"
;
ti
,
elm
-
id
=
<&
elm
>;
nand
-
bus
-
width
=
<
8
>;
...
...
@@ -538,12 +542,9 @@ nand@0,0 {
gpmc
,
access
-
ns
=
<
64
>;
gpmc
,
rd
-
cycle
-
ns
=
<
82
>;
gpmc
,
wr
-
cycle
-
ns
=
<
82
>;
gpmc
,
wait
-
on
-
read
=
"true"
;
gpmc
,
wait
-
on
-
write
=
"true"
;
gpmc
,
bus
-
turnaround
-
ns
=
<
0
>;
gpmc
,
cycle2cycle
-
delay
-
ns
=
<
0
>;
gpmc
,
clk
-
activation
-
ns
=
<
0
>;
gpmc
,
wait
-
monitoring
-
ns
=
<
0
>;
gpmc
,
wr
-
access
-
ns
=
<
40
>;
gpmc
,
wr
-
data
-
mux
-
bus
-
ns
=
<
0
>;
/*
MTD
partition
table
*/
...
...
arch/arm/boot/dts/am335x-igep0033.dtsi
View file @
26c23ee6
...
...
@@ -11,6 +11,7 @@
/dts-v1/;
#include "am33xx.dtsi"
#include <dt-bindings/interrupt-controller/irq.h>
/ {
cpus {
...
...
@@ -129,7 +130,11 @@ &gpmc {
ranges = <0 0 0x08000000 0x1000000>; /* CS0: 16MB for NAND */
nand@0,0 {
compatible = "ti,omap2-nand";
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */
nand-bus-width = <8>;
ti,nand-ecc-opt = "bch8";
gpmc,device-width = <1>;
...
...
@@ -147,12 +152,9 @@ nand@0,0 {
gpmc,access-ns = <64>;
gpmc,rd-cycle-ns = <82>;
gpmc,wr-cycle-ns = <82>;
gpmc,wait-on-read = "true";
gpmc,wait-on-write = "true";
gpmc,bus-turnaround-ns = <0>;
gpmc,cycle2cycle-delay-ns = <0>;
gpmc,clk-activation-ns = <0>;
gpmc,wait-monitoring-ns = <0>;
gpmc,wr-access-ns = <40>;
gpmc,wr-data-mux-bus-ns = <0>;
...
...
arch/arm/boot/dts/am335x-phycore-som.dtsi
View file @
26c23ee6
...
...
@@ -8,6 +8,7 @@
*/
#
include
"am33xx.dtsi"
#
include
<
dt
-
bindings
/
interrupt
-
controller
/
irq
.
h
>
/
{
model
=
"Phytec AM335x phyCORE"
;
...
...
@@ -165,7 +166,11 @@ &gpmc {
pinctrl
-
0
=
<&
nandflash_pins
>;
ranges
=
<
0
0
0x08000000
0x1000000
>;
/*
CS0
:
NAND
*/
nandflash
:
nand
@
0
,
0
{
compatible
=
"ti,omap2-nand"
;
reg
=
<
0
0
4
>;
/*
CS0
,
offset
0
,
IO
size
4
*/
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
nand
-
bus
-
width
=
<
8
>;
ti
,
nand
-
ecc
-
opt
=
"bch8"
;
gpmc
,
device
-
nand
=
"true"
;
...
...
@@ -184,13 +189,10 @@ nandflash: nand@0,0 {
gpmc
,
access
-
ns
=
<
30
>;
gpmc
,
rd
-
cycle
-
ns
=
<
30
>;
gpmc
,
wr
-
cycle
-
ns
=
<
30
>;
gpmc
,
wait
-
on
-
read
=
"true"
;
gpmc
,
wait
-
on
-
write
=
"true"
;
gpmc
,
bus
-
turnaround
-
ns
=
<
0
>;
gpmc
,
cycle2cycle
-
delay
-
ns
=
<
50
>;
gpmc
,
cycle2cycle
-
diffcsen
;
gpmc
,
clk
-
activation
-
ns
=
<
0
>;
gpmc
,
wait
-
monitoring
-
ns
=
<
0
>;
gpmc
,
wr
-
access
-
ns
=
<
30
>;
gpmc
,
wr
-
data
-
mux
-
bus
-
ns
=
<
0
>;
...
...
arch/arm/boot/dts/am33xx.dtsi
View file @
26c23ee6
...
...
@@ -865,6 +865,8 @@ gpmc: gpmc@50000000 {
gpmc,num-waitpins = <2>;
#address-cells = <2>;
#size-cells = <1>;
interrupt-controller;
#interrupt-cells = <2>;
status = "disabled";
};
...
...
arch/arm/boot/dts/am4372.dtsi
View file @
26c23ee6
...
...
@@ -893,6 +893,8 @@ gpmc: gpmc@50000000 {
gpmc,num-waitpins = <2>;
#address-cells = <2>;
#size-cells = <1>;
interrupt-controller;
#interrupt-cells = <2>;
status = "disabled";
};
...
...
arch/arm/boot/dts/am437x-cm-t43.dts
View file @
26c23ee6
...
...
@@ -146,7 +146,11 @@ &gpmc {
pinctrl
-
0
=
<&
nand_flash_x8
>;
ranges
=
<
0
0
0x08000000
0x1000000
>;
nand
@
0
,
0
{
reg
=
<
0
0
0
>;
compatible
=
"ti,omap2-nand"
;
reg
=
<
0
0
4
>;
/*
CS0
,
offset
0
,
IO
size
4
*/
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
ti
,
nand
-
ecc
-
opt
=
"bch8"
;
ti
,
elm
-
id
=
<&
elm
>;
...
...
@@ -166,17 +170,12 @@ nand@0,0 {
gpmc
,
access
-
ns
=
<
64
>;
gpmc
,
rd
-
cycle
-
ns
=
<
82
>;
gpmc
,
wr
-
cycle
-
ns
=
<
82
>;
gpmc
,
wait
-
on
-
read
=
"true"
;
gpmc
,
wait
-
on
-
write
=
"true"
;
gpmc
,
bus
-
turnaround
-
ns
=
<
0
>;
gpmc
,
cycle2cycle
-
delay
-
ns
=
<
0
>;
gpmc
,
clk
-
activation
-
ns
=
<
0
>;
gpmc
,
wait
-
monitoring
-
ns
=
<
0
>;
gpmc
,
wr
-
access
-
ns
=
<
40
>;
gpmc
,
wr
-
data
-
mux
-
bus
-
ns
=
<
0
>;
gpmc
,
wait
-
pin
=
<
0
>;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
/*
MTD
partition
table
*/
...
...
arch/arm/boot/dts/am437x-gp-evm.dts
View file @
26c23ee6
...
...
@@ -812,9 +812,13 @@ &gpmc {
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
nand_flash_x8
>;
ranges
=
<
0
0
0
0x01000000
>;
/*
minimum
GPMC
partition
=
16
MB
*/
ranges
=
<
0
0
0
x08000000
0x01000000
>;
/*
CS0
space
.
Min
partition
=
16
MB
*/
nand
@
0
,
0
{
compatible
=
"ti,omap2-nand"
;
reg
=
<
0
0
4
>;
/*
device
IO
registers
*/
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
ti
,
nand
-
ecc
-
opt
=
"bch16"
;
ti
,
elm
-
id
=
<&
elm
>;
nand
-
bus
-
width
=
<
8
>;
...
...
@@ -833,11 +837,9 @@ nand@0,0 {
gpmc
,
access
-
ns
=
<
30
>;
gpmc
,
rd
-
cycle
-
ns
=
<
40
>;
gpmc
,
wr
-
cycle
-
ns
=
<
40
>;
gpmc
,
wait
-
pin
=
<
0
>;
gpmc
,
bus
-
turnaround
-
ns
=
<
0
>;
gpmc
,
cycle2cycle
-
delay
-
ns
=
<
0
>;
gpmc
,
clk
-
activation
-
ns
=
<
0
>;
gpmc
,
wait
-
monitoring
-
ns
=
<
0
>;
gpmc
,
wr
-
access
-
ns
=
<
40
>;
gpmc
,
wr
-
data
-
mux
-
bus
-
ns
=
<
0
>;
/*
MTD
partition
table
*/
...
...
arch/arm/boot/dts/am43x-epos-evm.dts
View file @
26c23ee6
...
...
@@ -561,9 +561,13 @@ &gpmc {
status
=
"okay"
;
/*
Disable
QSPI
when
enabling
GPMC
(
NAND
)
*/
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
nand_flash_x8
>;
ranges
=
<
0
0
0x08000000
0x
1000000
>;
/*
CS0
:
16
MB
for
NAND
*/
ranges
=
<
0
0
0x08000000
0x
01000000
>;
/*
CS0
space
.
Min
partition
=
16
MB
*/
nand
@
0
,
0
{
compatible
=
"ti,omap2-nand"
;
reg
=
<
0
0
4
>;
/*
CS0
,
offset
0
,
IO
size
4
*/
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
ti
,
nand
-
ecc
-
opt
=
"bch16"
;
ti
,
elm
-
id
=
<&
elm
>;
nand
-
bus
-
width
=
<
8
>;
...
...
@@ -582,11 +586,9 @@ nand@0,0 {
gpmc
,
access
-
ns
=
<
30
>;
/*
tCEA
+
4
*/
gpmc
,
rd
-
cycle
-
ns
=
<
40
>;
gpmc
,
wr
-
cycle
-
ns
=
<
40
>;
gpmc
,
wait
-
pin
=
<
0
>;
gpmc
,
bus
-
turnaround
-
ns
=
<
0
>;
gpmc
,
cycle2cycle
-
delay
-
ns
=
<
0
>;
gpmc
,
clk
-
activation
-
ns
=
<
0
>;
gpmc
,
wait
-
monitoring
-
ns
=
<
0
>;
gpmc
,
wr
-
access
-
ns
=
<
40
>;
gpmc
,
wr
-
data
-
mux
-
bus
-
ns
=
<
0
>;
/*
MTD
partition
table
*/
...
...
arch/arm/boot/dts/dm8168-evm.dts
View file @
26c23ee6
...
...
@@ -6,6 +6,7 @@
/
dts
-
v1
/;
#
include
"dm816x.dtsi"
#
include
<
dt
-
bindings
/
interrupt
-
controller
/
irq
.
h
>
/
{
model
=
"DM8168 EVM"
;
...
...
@@ -85,8 +86,12 @@ &gpmc {
ranges
=
<
0
0
0x04000000
0x01000000
>;
/*
CS0
:
16
MB
for
NAND
*/
nand
@
0
,
0
{
compatible
=
"ti,omap2-nand"
;
linux
,
mtd
-
name
=
"micron,mt29f2g16aadwp"
;
reg
=
<
0
0
4
>;
/*
CS0
,
offset
0
,
IO
size
4
*/
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
ti
,
nand
-
ecc
-
opt
=
"bch8"
;
...
...
@@ -106,12 +111,9 @@ nand@0,0 {
gpmc
,
access
-
ns
=
<
64
>;
gpmc
,
rd
-
cycle
-
ns
=
<
82
>;
gpmc
,
wr
-
cycle
-
ns
=
<
82
>;
gpmc
,
wait
-
on
-
read
=
"true"
;
gpmc
,
wait
-
on
-
write
=
"true"
;
gpmc
,
bus
-
turnaround
-
ns
=
<
0
>;
gpmc
,
cycle2cycle
-
delay
-
ns
=
<
0
>;
gpmc
,
clk
-
activation
-
ns
=
<
0
>;
gpmc
,
wait
-
monitoring
-
ns
=
<
0
>;
gpmc
,
wr
-
access
-
ns
=
<
40
>;
gpmc
,
wr
-
data
-
mux
-
bus
-
ns
=
<
0
>;
partition
@
0
{
...
...
arch/arm/boot/dts/dm816x.dtsi
View file @
26c23ee6
...
...
@@ -183,6 +183,8 @@ gpmc: gpmc@50000000 {
dma-names = "rxtx";
gpmc,num-cs = <6>;
gpmc,num-waitpins = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};
i2c1: i2c@48028000 {
...
...
arch/arm/boot/dts/dra7-evm.dts
View file @
26c23ee6
...
...
@@ -741,9 +741,13 @@ &gpmc {
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
nand_flash_x16
>;
ranges
=
<
0
0
0
0x01000000
>;
/*
minimum
GPMC
partition
=
16
MB
*/
ranges
=
<
0
0
0
x08000000
0x01000000
>;
/*
minimum
GPMC
partition
=
16
MB
*/
nand
@
0
,
0
{
compatible
=
"ti,omap2-nand"
;
reg
=
<
0
0
4
>;
/*
device
IO
registers
*/
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
ti
,
nand
-
ecc
-
opt
=
"bch8"
;
ti
,
elm
-
id
=
<&
elm
>;
nand
-
bus
-
width
=
<
16
>;
...
...
@@ -766,7 +770,6 @@ nand@0,0 {
gpmc
,
bus
-
turnaround
-
ns
=
<
0
>;
gpmc
,
cycle2cycle
-
delay
-
ns
=
<
0
>;
gpmc
,
clk
-
activation
-
ns
=
<
0
>;
gpmc
,
wait
-
monitoring
-
ns
=
<
0
>;
gpmc
,
wr
-
data
-
mux
-
bus
-
ns
=
<
0
>;
/*
MTD
partition
table
*/
/*
All
SPL
-*
partitions
are
sized
to
minimal
length
...
...
arch/arm/boot/dts/dra7.dtsi
View file @
26c23ee6
...
...
@@ -1402,6 +1402,8 @@ gpmc: gpmc@50000000 {
gpmc,num-waitpins = <2>;
#address-cells = <2>;
#size-cells = <1>;
interrupt-controller;
#interrupt-cells = <2>;
status = "disabled";
};
...
...
arch/arm/boot/dts/dra72-evm.dts
View file @
26c23ee6
...
...
@@ -492,13 +492,17 @@ &gpmc {
status
=
"okay"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
nand_default
>;
ranges
=
<
0
0
0
0x01000000
>;
/*
minimum
GPMC
partition
=
16
MB
*/
ranges
=
<
0
0
0
x08000000
0x01000000
>;
/*
minimum
GPMC
partition
=
16
MB
*/
nand
@
0
,
0
{
/*
To
use
NAND
,
DIP
switch
SW5
must
be
set
like
so
:
*
SW5
.1
(
NAND_SELn
)
=
ON
(
LOW
)
*
SW5
.9
(
GPMC_WPN
)
=
OFF
(
HIGH
)
*/
compatible
=
"ti,omap2-nand"
;
reg
=
<
0
0
4
>;
/*
device
IO
registers
*/
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
ti
,
nand
-
ecc
-
opt
=
"bch8"
;
ti
,
elm
-
id
=
<&
elm
>;
nand
-
bus
-
width
=
<
16
>;
...
...
@@ -521,7 +525,6 @@ nand@0,0 {
gpmc
,
bus
-
turnaround
-
ns
=
<
0
>;
gpmc
,
cycle2cycle
-
delay
-
ns
=
<
0
>;
gpmc
,
clk
-
activation
-
ns
=
<
0
>;
gpmc
,
wait
-
monitoring
-
ns
=
<
0
>;
gpmc
,
wr
-
data
-
mux
-
bus
-
ns
=
<
0
>;
/*
MTD
partition
table
*/
/*
All
SPL
-*
partitions
are
sized
to
minimal
length
...
...
arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
View file @
26c23ee6
...
...
@@ -102,7 +102,8 @@ &charger {
};
&
gpmc
{
ranges
=
<
1
0
0x08000000
0x1000000
>;
/*
CS1
:
16
MB
for
LAN9221
*/
ranges
=
<
0
0
0x30000000
0x1000000
/*
CS0
:
16
MB
for
NAND
*/
1
0
0x2c000000
0x1000000
>;
/*
CS1
:
16
MB
for
LAN9221
*/
ethernet
@
gpmc
{
pinctrl
-
names
=
"default"
;
...
...
arch/arm/boot/dts/logicpd-torpedo-som.dtsi
View file @
26c23ee6
...
...
@@ -35,11 +35,15 @@ wl12xx_vmmc: wl12xx_vmmc {
};
&gpmc {
ranges = <0 0 0x
0
0000000 0x1000000>; /* CS0: 16MB for NAND */
ranges = <0 0 0x
3
0000000 0x1000000>; /* CS0: 16MB for NAND */
nand@0,0 {
linux,mtd-name = "micron,mt29f4g16abbda3w
";
compatible = "ti,omap2-nand
";
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */
linux,mtd-name = "micron,mt29f4g16abbda3w";
nand-bus-width = <16>;
ti,nand-ecc-opt = "bch8";
gpmc,sync-clk-ps = <0>;
...
...
arch/arm/boot/dts/omap3-beagle.dts
View file @
26c23ee6
...
...
@@ -384,8 +384,11 @@ &gpmc {
/*
Chip
select
0
*/
nand
@
0
,
0
{
compatible
=
"ti,omap2-nand"
;
reg
=
<
0
0
4
>;
/*
NAND
I
/
O
window
,
4
bytes
*/
interrupts
=
<
20
>;
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
ti
,
nand
-
ecc
-
opt
=
"ham1"
;
nand
-
bus
-
width
=
<
16
>;
#
address
-
cells
=
<
1
>;
...
...
arch/arm/boot/dts/omap3-cm-t3x.dtsi
View file @
26c23ee6
...
...
@@ -261,10 +261,14 @@ &mcbsp2 {
};
&gpmc {
ranges = <0 0 0x
00000000 0x01000000>;
ranges = <0 0 0x
30000000 0x01000000>; /* CS0: 16MB for NAND */
nand@0,0 {
compatible = "ti,omap2-nand";
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */
nand-bus-width = <8>;
gpmc,device-width = <1>;
ti,nand-ecc-opt = "sw";
...
...
arch/arm/boot/dts/omap3-devkit8000-common.dtsi
View file @
26c23ee6
...
...
@@ -204,7 +204,11 @@ &gpmc {
ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */
nand@0,0 {
compatible = "ti,omap2-nand";
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */
nand-bus-width = <16>;
gpmc,device-width = <2>;
ti,nand-ecc-opt = "sw";
...
...
arch/arm/boot/dts/omap3-evm-37xx.dts
View file @
26c23ee6
...
...
@@ -154,12 +154,16 @@ &uart3 {
};
&
gpmc
{
ranges
=
<
0
0
0x
0
0000000
0x1000000
>,
/*
CS0
:
16
MB
for
NAND
*/
ranges
=
<
0
0
0x
3
0000000
0x1000000
>,
/*
CS0
:
16
MB
for
NAND
*/
<
5
0
0x2c000000
0x01000000
>;
nand
@
0
,
0
{
compatible
=
"ti,omap2-nand"
;
reg
=
<
0
0
4
>;
/*
CS0
,
offset
0
,
IO
size
4
*/
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
linux
,
mtd
-
name
=
"hynix,h8kds0un0mer-4em"
;
reg
=
<
0
0
4
>;
/*
CS0
,
offset
0
,
IO
size
4
*/
nand
-
bus
-
width
=
<
16
>;
gpmc
,
device
-
width
=
<
2
>;
ti
,
nand
-
ecc
-
opt
=
"bch8"
;
...
...
arch/arm/boot/dts/omap3-gta04.dtsi
View file @
26c23ee6
...
...
@@ -492,7 +492,11 @@ &gpmc {
ranges
=
<
0
0
0x30000000
0x1000000
>;
/*
CS0
:
16
MB
for
NAND
*/
nand
@
0
,
0
{
compatible
=
"ti,omap2-nand"
;
reg
=
<
0
0
4
>;
/*
CS0
,
offset
0
,
IO
size
4
*/
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
nand
-
bus
-
width
=
<
16
>;
ti
,
nand
-
ecc
-
opt
=
"bch8"
;
...
...
arch/arm/boot/dts/omap3-igep.dtsi
View file @
26c23ee6
...
...
@@ -99,8 +99,12 @@ OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0) /* i2c3_sda.i2c3_sda */
&gpmc {
nand@0,0 {
compatible = "ti,omap2-nand";
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */
linux,mtd-name= "micron,mt29c4g96maz";
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
nand-bus-width = <16>;
gpmc,device-width = <2>;
ti,nand-ecc-opt = "bch8";
...
...
arch/arm/boot/dts/omap3-igep0020-common.dtsi
View file @
26c23ee6
...
...
@@ -210,8 +210,8 @@ eeprom@50 {
};
&gpmc {
ranges = <0 0 0x
00000000 0x20000000>,
<5 0 0x2c000000 0x01000000>;
ranges = <0 0 0x
30000000 0x01000000>, /* CS0: 16MB for NAND */
<5 0 0x2c000000 0x01000000>;
/* CS5: 16MB for ethernet */
ethernet@gpmc {
pinctrl-names = "default";
...
...
arch/arm/boot/dts/omap3-igep0030-common.dtsi
View file @
26c23ee6
...
...
@@ -99,3 +99,7 @@ &uart2 {
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins>;
};
&gpmc {
ranges = <0 0 0x30000000 0x01000000>; /* CS0: 16MB for NAND */
};
arch/arm/boot/dts/omap3-ldp.dts
View file @
26c23ee6
...
...
@@ -97,12 +97,16 @@ key_down {
};
&
gpmc
{
ranges
=
<
0
0
0x
00000000
0x01000000
>,
<
1
0
0x08000000
0x
01000000
>;
ranges
=
<
0
0
0x
30000000
0x1000000
>,
/*
CS0
space
,
16
MB
*/
<
1
0
0x08000000
0x
1000000
>;
/*
CS1
space
,
16
MB
*/
nand
@
0
,
0
{
compatible
=
"ti,omap2-nand"
;
reg
=
<
0
0
4
>;
/*
CS0
,
offset
0
,
IO
size
4
*/
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
linux
,
mtd
-
name
=
"micron,nand"
;
reg
=
<
0
0
4
>;
/*
CS0
,
offset
0
,
IO
size
4
*/
nand
-
bus
-
width
=
<
16
>;
gpmc
,
device
-
width
=
<
2
>;
ti
,
nand
-
ecc
-
opt
=
"bch8"
;
...
...
arch/arm/boot/dts/omap3-lilly-a83x.dtsi
View file @
26c23ee6
...
...
@@ -362,7 +362,11 @@ &gpmc {
<7 0 0x15000000 0x01000000>;
nand@0,0 {
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
compatible = "ti,omap2-nand";
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */
nand-bus-width = <16>;
ti,nand-ecc-opt = "bch8";
/* no elm on omap3 */
...
...
arch/arm/boot/dts/omap3-overo-base.dtsi
View file @
26c23ee6
...
...
@@ -226,8 +226,12 @@ &gpmc {
ranges = <0 0 0x00000000 0x20000000>;
nand@0,0 {
compatible = "ti,omap2-nand";
linux,mtd-name= "micron,mt29c4g96maz";
reg = <0 0 0>;
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */
nand-bus-width = <16>;
gpmc,device-width = <2>;
ti,nand-ecc-opt = "bch8";
...
...
arch/arm/boot/dts/omap3-pandora-common.dtsi
View file @
26c23ee6
...
...
@@ -546,7 +546,11 @@ &gpmc {
ranges = <0 0 0x30000000 0x1000000>; /* CS0: 16MB for NAND */
nand@0,0 {
compatible = "ti,omap2-nand";
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */
nand-bus-width = <16>;
ti,nand-ecc-opt = "sw";
...
...
arch/arm/boot/dts/omap3-tao3530.dtsi
View file @
26c23ee6
...
...
@@ -275,10 +275,14 @@ &mcbsp3 {
};
&gpmc {
ranges = <0 0 0x
00000000 0x01000000>;
ranges = <0 0 0x
30000000 0x01000000>; /* CS0: 16MB for NAND */
nand@0,0 {
compatible = "ti,omap2-nand";
reg = <0 0 4>; /* CS0, offset 0, IO size 4 */
interrupt-parent = <&gpmc>;
interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
<1 IRQ_TYPE_NONE>; /* termcount */
nand-bus-width = <16>;
gpmc,device-width = <2>; /* GPMC_DEVWIDTH_16BIT */
ti,nand-ecc-opt = "sw";
...
...
arch/arm/boot/dts/omap3.dtsi
View file @
26c23ee6
...
...
@@ -723,6 +723,8 @@ gpmc: gpmc@6e000000 {
gpmc,num-waitpins = <4>;
#address-cells = <2>;
#size-cells = <1>;
interrupt-controller;
#interrupt-cells = <2>;
};
usb_otg_hs: usb_otg_hs@480ab000 {
...
...
arch/arm/boot/dts/omap3430-sdp.dts
View file @
26c23ee6
...
...
@@ -103,10 +103,14 @@ partition@280000 {
};
nand
@
1
,
0
{
compatible
=
"ti,omap2-nand"
;
reg
=
<
0
0
4
>;
/*
CS0
,
offset
0
,
IO
size
4
*/
interrupt
-
parent
=
<&
gpmc
>;
interrupts
=
<
0
IRQ_TYPE_NONE
>,
/*
fifoevent
*/
<
1
IRQ_TYPE_NONE
>;
/*
termcount
*/
linux
,
mtd
-
name
=
"micron,mt29f1g08abb"
;
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
1
>;
reg
=
<
1
0
4
>;
/*
CS1
,
offset
0
,
IO
size
4
*/
ti
,
nand
-
ecc
-
opt
=
"sw"
;
nand
-
bus
-
width
=
<
8
>;
gpmc
,
cs
-
on
-
ns
=
<
0
>;
...
...
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