libpcap: fix kernel version check
[openwrt.git] / target / linux / ppc40x / patches / 006-magicboxv2.patch
index a8dd690..0d71464 100644 (file)
@@ -72,7 +72,7 @@
 +}
 --- /dev/null
 +++ b/arch/powerpc/boot/dts/magicboxv2.dts
-@@ -0,0 +1,259 @@
+@@ -0,0 +1,281 @@
 +/*
 + * Device Tree Source for Magicbox v2
 + *
 +
 +                      IIC: i2c@ef600500 {
 +                              compatible = "ibm,iic-405ep", "ibm,iic";
++                              #address-cells = <1>;
++                              #size-cells = <0>;
 +                              reg = <0xef600500 0x00000011>;
 +                              interrupt-parent = <&UIC0>;
 +                              interrupts = <0x2 0x4>;
++
++                              dtt@48 {
++                                      compatible = "national,lm75";
++                                      reg = <0x48>;
++                              };
++
++                              eeprom@50 {
++                                      compatible = "at24,24c16";
++                                      reg = <0x50>;
++                              };
 +                      };
 +
-+                      GPIO: gpio@ef600700 {
-+                              compatible = "ibm,gpio-405ep";
++                      GPIO0: gpio-controller@ef600700 {
++                              compatible = "ibm,ppc4xx-gpio";
 +                              reg = <0xef600700 0x00000020>;
++                              #gpio-cells = <2>;
++                              gpio-controller;
 +                      };
 +
 +                      EMAC0: ethernet@ef600800 {
 +                              phy-mode = "mii";
 +                              phy-map = <0x00000000>;
 +                      };
++
 +                      EMAC1: ethernet@ef600900 {
 +                              linux,network-index = <0x1>;
 +                              device_type = "network";
 +                              phy-map = <0x00000001>;
 +                      };
 +
++                      leds {
++                              compatible = "gpio-leds";
++                              user {
++                                      label = "magicbox:red:user";
++                                      gpios = <&GPIO0 2 1>;
++                              };
++                      };
 +              };
 +
 +              EBC0: ebc {
 +                      clock-frequency = <0>; /* Filled in by zImage */
 +
 +                      cf_card@ff100000 {
-+                              compatible = "magicbox-cf";
++                              compatible = "magicbox-cf", "pata-magicbox-cf";
 +                              reg = <0x00000000 0xff100000 0x00001000
 +                                     0x00000000 0xff200000 0x00001000>;
 +                              interrupt-parent = <&UIC0>;
This page took 0.034433 seconds and 4 git commands to generate.