[RESEND][PATCH 2/2][POWERPC] PIKA Warp: Update platform code to supportRev B boards
Sean MacLennan
smaclennan at pikatech.com
Tue Apr 29 13:27:46 EST 2008
PIKA Warp: Update DTS to support Rev B boards.
* Switched from 64M NOR/64M NAND to 4M NOR/256M NAND.
* Added led entries.
* Added fpga-sd entry.
* Added ad7414 entry.
Signed-off-by: Sean MacLennan <smaclennan at pikatech.com>
Acked-by: Grant Likely <grant.likely at secretlab.ca>
diff --git a/arch/powerpc/boot/dts/warp.dts b/arch/powerpc/boot/dts/warp.dts
index b04a52e..c086501 100644
--- a/arch/powerpc/boot/dts/warp.dts
+++ b/arch/powerpc/boot/dts/warp.dts
@@ -132,40 +132,33 @@
fpga at 2,0 {
compatible = "pika,fpga";
- reg = <2 0 2200>;
+ reg = <2 0 1000>;
interrupts = <18 8>;
interrupt-parent = <&UIC0>;
};
+ fpga at 2,4000 {
+ compatible = "pika,fpga-sd";
+ reg = <2 4000 A00>;
+ };
+
nor_flash at 0,0 {
- compatible = "amd,s29gl512n", "cfi-flash";
+ compatible = "amd,s29gl032a", "cfi-flash";
bank-width = <2>;
- reg = <0 0 4000000>;
+ reg = <0 0 400000>;
#address-cells = <1>;
#size-cells = <1>;
- partition at 0 {
- label = "kernel";
- reg = <0 180000>;
- };
- partition at 180000 {
- label = "root";
- reg = <180000 3480000>;
- };
- partition at 3600000 {
- label = "user";
- reg = <3600000 900000>;
- };
- partition at 3f00000 {
+ partition at 300000 {
label = "fpga";
- reg = <3f00000 40000>;
+ reg = <300000 40000>;
};
- partition at 3f40000 {
+ partition at 340000 {
label = "env";
- reg = <3f40000 40000>;
+ reg = <340000 40000>;
};
- partition at 3f80000 {
+ partition at 380000 {
label = "u-boot";
- reg = <3f80000 80000>;
+ reg = <380000 80000>;
};
};
};
@@ -186,18 +179,45 @@
reg = <ef600700 14>;
interrupt-parent = <&UIC0>;
interrupts = <2 4>;
+ index = <0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ad7414 at 4a {
+ compatible = "adi,ad7414";
+ reg = <4a>;
+ interrupts = <19 8>;
+ interrupt-parent = <&UIC0>;
+ };
};
GPIO0: gpio at ef600b00 {
compatible = "ibm,gpio-440ep";
reg = <ef600b00 48>;
+ #gpio-cells = <2>;
+ gpio-controller;
};
GPIO1: gpio at ef600c00 {
compatible = "ibm,gpio-440ep";
reg = <ef600c00 48>;
+ #gpio-cells = <2>;
+ gpio-controller;
+
+ led at 31 {
+ compatible = "linux,gpio-led";
+ linux,name = ":green:";
+ gpios = <&GPIO1 31 0>;
+ };
+
+ led at 30 {
+ compatible = "linux,gpio-led";
+ linux,name = ":red:";
+ gpios = <&GPIO1 30 0>;
+ };
};
+
ZMII0: emac-zmii at ef600d00 {
compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii";
reg = <ef600d00 c>;
More information about the Linuxppc-dev
mailing list