-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The mmp power management changes are based on this branch, so pull it in as a dependency. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
- Loading branch information
Showing
22 changed files
with
1,313 additions
and
334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
* Marvell MMP Interrupt controller | ||
|
||
Required properties: | ||
- compatible : Should be "mrvl,mmp-intc", "mrvl,mmp2-intc" or | ||
"mrvl,mmp2-mux-intc" | ||
- reg : Address and length of the register set of the interrupt controller. | ||
If the interrupt controller is intc, address and length means the range | ||
of the whold interrupt controller. If the interrupt controller is mux-intc, | ||
address and length means one register. Since address of mux-intc is in the | ||
range of intc. mux-intc is secondary interrupt controller. | ||
- reg-names : Name of the register set of the interrupt controller. It's | ||
only required in mux-intc interrupt controller. | ||
- interrupts : Should be the port interrupt shared by mux interrupts. It's | ||
only required in mux-intc interrupt controller. | ||
- interrupt-controller : Identifies the node as an interrupt controller. | ||
- #interrupt-cells : Specifies the number of cells needed to encode an | ||
interrupt source. | ||
- mrvl,intc-nr-irqs : Specifies the number of interrupts in the interrupt | ||
controller. | ||
- mrvl,clr-mfp-irq : Specifies the interrupt that needs to clear MFP edge | ||
detection first. | ||
|
||
Example: | ||
intc: interrupt-controller@d4282000 { | ||
compatible = "mrvl,mmp2-intc"; | ||
interrupt-controller; | ||
#interrupt-cells = <1>; | ||
reg = <0xd4282000 0x1000>; | ||
mrvl,intc-nr-irqs = <64>; | ||
}; | ||
|
||
intcmux4@d4282150 { | ||
compatible = "mrvl,mmp2-mux-intc"; | ||
interrupts = <4>; | ||
interrupt-controller; | ||
#interrupt-cells = <1>; | ||
reg = <0x150 0x4>, <0x168 0x4>; | ||
reg-names = "mux status", "mux mask"; | ||
mrvl,intc-nr-irqs = <2>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
* Marvell MMP Timer controller | ||
|
||
Required properties: | ||
- compatible : Should be "mrvl,mmp-timer". | ||
- reg : Address and length of the register set of timer controller. | ||
- interrupts : Should be the interrupt number. | ||
|
||
Example: | ||
timer0: timer@d4014000 { | ||
compatible = "mrvl,mmp-timer"; | ||
reg = <0xd4014000 0x100>; | ||
interrupts = <13>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Copyright (C) 2012 Marvell Technology Group Ltd. | ||
* Author: Haojian Zhuang <haojian.zhuang@marvell.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 | ||
* publishhed by the Free Software Foundation. | ||
*/ | ||
|
||
/dts-v1/; | ||
/include/ "mmp2.dtsi" | ||
|
||
/ { | ||
model = "Marvell MMP2 Aspenite Development Board"; | ||
compatible = "mrvl,mmp2-brownstone", "mrvl,mmp2"; | ||
|
||
chosen { | ||
bootargs = "console=ttyS2,38400 root=/dev/nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on"; | ||
}; | ||
|
||
memory { | ||
reg = <0x00000000 0x04000000>; | ||
}; | ||
|
||
soc { | ||
apb@d4000000 { | ||
uart3: uart@d4018000 { | ||
status = "okay"; | ||
}; | ||
twsi1: i2c@d4011000 { | ||
status = "okay"; | ||
}; | ||
rtc: rtc@d4010000 { | ||
status = "okay"; | ||
}; | ||
}; | ||
}; | ||
}; |
Oops, something went wrong.