brcm63xx: add support for registering parallel flash through dtb
[openwrt/staging/chunkeey.git] / target / linux / brcm63xx / dts / bcm6338.dtsi
index 0e0f2787928c1b7c20a549e78b3bbaa035846d23..b06d3988d79a65fcfdf14522949f86bc69ebb2ac 100644 (file)
@@ -3,6 +3,10 @@
        #size-cells = <1>;
        compatible = "brcm,bcm6338";
 
+       aliases {
+               pflash = &pflash;
+       };
+
        cpus {
                cpu@0 {
                        compatible = "brcm,bmips3300", "mips,mips4Kc";
 
        memory { device_type = "memory"; reg = <0 0>; };
 
+       pflash: nor@1fc00000 {
+               compatible = "cfi-flash";
+               reg = <0x1fc00000 0x400000>;
+               bank-witdh = <2>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+
+               status = "disabled";
+       };
+
        ubus@fff00000 {
                #address-cells = <1>;
                #size-cells = <1>;