forked from torvalds/linux
-
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.
ARM: 7517/1: integrator: initial device tree support
This is initial device tree support for the ARM Integrator family, we create a very basic device tree, #ifdef out the non-DT machines when compiling for device tree. Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Russell King <[email protected]>
- Loading branch information
Showing
6 changed files
with
360 additions
and
68 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
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,33 @@ | ||
/* | ||
* SoC core Device Tree for the ARM Integrator platforms | ||
*/ | ||
|
||
/include/ "skeleton.dtsi" | ||
|
||
/ { | ||
timer@13000000 { | ||
reg = <0x13000000 0x100>; | ||
interrupt-parent = <&pic>; | ||
interrupts = <5>; | ||
}; | ||
|
||
timer@13000100 { | ||
reg = <0x13000100 0x100>; | ||
interrupt-parent = <&pic>; | ||
interrupts = <6>; | ||
}; | ||
|
||
timer@13000200 { | ||
reg = <0x13000200 0x100>; | ||
interrupt-parent = <&pic>; | ||
interrupts = <7>; | ||
}; | ||
|
||
pic@14000000 { | ||
compatible = "arm,versatile-fpga-irq"; | ||
#interrupt-cells = <1>; | ||
interrupt-controller; | ||
reg = <0x14000000 0x100>; | ||
clear-mask = <0xffffffff>; | ||
}; | ||
}; |
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,36 @@ | ||
/* | ||
* Device Tree for the ARM Integrator/AP platform | ||
*/ | ||
|
||
/dts-v1/; | ||
/include/ "integrator.dtsi" | ||
|
||
/ { | ||
model = "ARM Integrator/AP"; | ||
compatible = "arm,integrator-ap"; | ||
|
||
aliases { | ||
arm,timer-primary = &timer2; | ||
arm,timer-secondary = &timer1; | ||
}; | ||
|
||
chosen { | ||
bootargs = "root=/dev/ram0 console=ttyAM0,38400n8 earlyprintk"; | ||
}; | ||
|
||
timer0: timer@13000000 { | ||
compatible = "arm,integrator-timer"; | ||
}; | ||
|
||
timer1: timer@13000100 { | ||
compatible = "arm,integrator-timer"; | ||
}; | ||
|
||
timer2: timer@13000200 { | ||
compatible = "arm,integrator-timer"; | ||
}; | ||
|
||
pic: pic@14000000 { | ||
valid-mask = <0x003fffff>; | ||
}; | ||
}; |
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,54 @@ | ||
/* | ||
* Device Tree for the ARM Integrator/CP platform | ||
*/ | ||
|
||
/dts-v1/; | ||
/include/ "integrator.dtsi" | ||
|
||
/ { | ||
model = "ARM Integrator/CP"; | ||
compatible = "arm,integrator-cp"; | ||
|
||
aliases { | ||
arm,timer-primary = &timer2; | ||
arm,timer-secondary = &timer1; | ||
}; | ||
|
||
chosen { | ||
bootargs = "root=/dev/ram0 console=ttyAMA0,38400n8 earlyprintk"; | ||
}; | ||
|
||
timer0: timer@13000000 { | ||
compatible = "arm,sp804", "arm,primecell"; | ||
}; | ||
|
||
timer1: timer@13000100 { | ||
compatible = "arm,sp804", "arm,primecell"; | ||
}; | ||
|
||
timer2: timer@13000200 { | ||
compatible = "arm,sp804", "arm,primecell"; | ||
}; | ||
|
||
pic: pic@14000000 { | ||
valid-mask = <0x1fc003ff>; | ||
}; | ||
|
||
cic: cic@10000040 { | ||
compatible = "arm,versatile-fpga-irq"; | ||
#interrupt-cells = <1>; | ||
interrupt-controller; | ||
reg = <0x10000040 0x100>; | ||
clear-mask = <0xffffffff>; | ||
valid-mask = <0x00000007>; | ||
}; | ||
|
||
sic: sic@ca000000 { | ||
compatible = "arm,versatile-fpga-irq"; | ||
#interrupt-cells = <1>; | ||
interrupt-controller; | ||
reg = <0xca000000 0x100>; | ||
clear-mask = <0x00000fff>; | ||
valid-mask = <0x00000fff>; | ||
}; | ||
}; |
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
Oops, something went wrong.