Author: gonzo
Date: Fri Nov 23 03:24:52 2012
New Revision: 243420
URL: http://svnweb.freebsd.org/changeset/base/243420

Log:
  Make FDT blob compatible with Raspberry Pi firmware.
  
  Rasperry Pi firmware has a set of hardcoded pathes it uses to fill
  FDT with system-specific information like display resolution, memory
  size, UART and SDHCI clocks, ethernet MAC address. Handle two of them:
  
  - Add placeholder for ethernet MAC address
  - Move display node out of "axi" node

Modified:
  head/sys/boot/fdt/dts/bcm2835-rpi-b.dts

Modified: head/sys/boot/fdt/dts/bcm2835-rpi-b.dts
==============================================================================
--- head/sys/boot/fdt/dts/bcm2835-rpi-b.dts     Fri Nov 23 01:48:31 2012        
(r243419)
+++ head/sys/boot/fdt/dts/bcm2835-rpi-b.dts     Fri Nov 23 03:24:52 2012        
(r243420)
@@ -478,26 +478,37 @@
                        interrupt-parent = <&intc>;
                        #address-cells = <1>;
                        #size-cells = <0>;
+                       hub {
+                               compatible = "usb,hub", "usb,device";
+                               reg = <0x00000001>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               ethernet {
+                                       compatible = "net,ethernet", 
"usb,device";
+                                       reg = <0x00000001>;
+                                       mac-address = [00 00 00 00 00 00];
+                               };
+                       };
                };
 
-               display {
-                       compatible = "broadcom,bcm2835-fb", 
"broadcom,bcm2708-fb";
-
-                       broadcom,vc-mailbox = <&vc_mbox>;
-                       broadcom,vc-channel = <1>;
-
-                       broadcom,width = <0>;           /* Set by VideoCore */
-                       broadcom,height = <0>;          /* Set by VideoCore */
-                       broadcom,depth = <0>;           /* Set by VideoCore */
-               };
        };
 
-
        memory {
                device_type = "memory";
                reg = <0 0x08000000>; /* 128MB */
        };
 
+       display {
+               compatible = "broadcom,bcm2835-fb", "broadcom,bcm2708-fb";
+
+               broadcom,vc-mailbox = <&vc_mbox>;
+               broadcom,vc-channel = <1>;
+
+               broadcom,width = <0>;           /* Set by VideoCore */
+               broadcom,height = <0>;          /* Set by VideoCore */
+               broadcom,depth = <0>;           /* Set by VideoCore */
+       };
+
        leds {
                compatible = "gpio-leds";
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to