Re: [PATCH 6/6] mpc8313erdb: Add power management to the device tree.

2008-07-15 Thread Kumar Gala


On Jul 11, 2008, at 6:04 PM, Scott Wood wrote:


Signed-off-by: Scott Wood [EMAIL PROTECTED]
---
arch/powerpc/boot/dts/mpc8313erdb.dts |  241 ++ 
+--

1 files changed, 171 insertions(+), 70 deletions(-)


applied.

- k
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


[PATCH 6/6] mpc8313erdb: Add power management to the device tree.

2008-07-11 Thread Scott Wood
Signed-off-by: Scott Wood [EMAIL PROTECTED]
---
 arch/powerpc/boot/dts/mpc8313erdb.dts |  241 +++--
 1 files changed, 171 insertions(+), 70 deletions(-)

diff --git a/arch/powerpc/boot/dts/mpc8313erdb.dts 
b/arch/powerpc/boot/dts/mpc8313erdb.dts
index 3664fb5..2a94ae0 100644
--- a/arch/powerpc/boot/dts/mpc8313erdb.dts
+++ b/arch/powerpc/boot/dts/mpc8313erdb.dts
@@ -109,18 +109,38 @@
reg = 0x200 0x100;
};
 
-   [EMAIL PROTECTED] {
+   sleep-nexus {
#address-cells = 1;
-   #size-cells = 0;
-   cell-index = 0;
-   compatible = fsl-i2c;
-   reg = 0x3000 0x100;
-   interrupts = 14 0x8;
-   interrupt-parent = ipic;
-   dfsrr;
-   [EMAIL PROTECTED] {
-   compatible = dallas,ds1339;
-   reg = 0x68;
+   #size-cells = 1;
+   compatible = simple-bus;
+   sleep = pmc 0x0300;
+   ranges;
+
+   [EMAIL PROTECTED] {
+   #address-cells = 1;
+   #size-cells = 0;
+   cell-index = 0;
+   compatible = fsl-i2c;
+   reg = 0x3000 0x100;
+   interrupts = 14 0x8;
+   interrupt-parent = ipic;
+   dfsrr;
+   [EMAIL PROTECTED] {
+   compatible = dallas,ds1339;
+   reg = 0x68;
+   };
+   };
+
+   [EMAIL PROTECTED] {
+   compatible = fsl,sec2.2, fsl,sec2.1,
+fsl,sec2.0;
+   reg = 0x3 0x1;
+   interrupts = 11 0x8;
+   interrupt-parent = ipic;
+   fsl,num-channels = 1;
+   fsl,channel-fifo-len = 24;
+   fsl,exec-units-mask = 0x4c;
+   fsl,descriptor-types-mask = 0x0122003f;
};
};
 
@@ -188,37 +208,44 @@
interrupt-parent = ipic;
interrupts = 38 0x8;
phy_type = utmi_wide;
+   sleep = pmc 0x0030;
};
 
-   [EMAIL PROTECTED] {
+   enet0: [EMAIL PROTECTED] {
#address-cells = 1;
-   #size-cells = 0;
-   compatible = fsl,gianfar-mdio;
-   reg = 0x24520 0x20;
-   phy1: [EMAIL PROTECTED] {
-   interrupt-parent = ipic;
-   interrupts = 19 0x8;
-   reg = 0x1;
-   device_type = ethernet-phy;
-   };
-   phy4: [EMAIL PROTECTED] {
-   interrupt-parent = ipic;
-   interrupts = 20 0x8;
-   reg = 0x4;
-   device_type = ethernet-phy;
-   };
-   };
+   #size-cells = 1;
+   sleep = pmc 0x2000;
+   ranges;
 
-   enet0: [EMAIL PROTECTED] {
cell-index = 0;
device_type = network;
model = eTSEC;
-   compatible = gianfar;
+   compatible = gianfar, simple-bus;
reg = 0x24000 0x1000;
local-mac-address = [ 00 00 00 00 00 00 ];
interrupts = 37 0x8 36 0x8 35 0x8;
interrupt-parent = ipic;
phy-handle =  phy1 ;
+   fsl,magic-packet;
+
+   [EMAIL PROTECTED] {
+   #address-cells = 1;
+   #size-cells = 0;
+   compatible = fsl,gianfar-mdio;
+   reg = 0x24520 0x20;
+   phy1: [EMAIL PROTECTED] {
+   interrupt-parent = ipic;
+   interrupts = 19 0x8;
+   reg = 0x1;
+   device_type = ethernet-phy;
+   };
+   phy4: [EMAIL PROTECTED] {
+