arm64: dts: hip05: Add nor flash support
[deliverable/linux.git] / arch / arm64 / boot / dts / hisilicon / hip05-d02.dts
index e9436c0d81f7b484ef171a6c84e655a3765b0b92..abba750b87f8181aaf15e503cc4ea55cbf6b7638 100644 (file)
 &peri_gpio0 {
        status = "ok";
 };
+
+&lbc {
+       status = "ok";
+       #address-cells = <2>;
+       #size-cells = <1>;
+       ranges = <0 0 0x0 0x90000000 0x08000000>,
+                <1 0 0x0 0x98000000 0x08000000>;
+
+       nor-flash@0,0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "numonyx,js28f00a", "cfi-flash";
+               reg = <0 0x0 0x08000000>;
+               bank-width = <2>;
+               /* The three parts may not used */
+               partition@0 {
+                       label = "BIOS";
+                       reg = <0x0 0x300000>;
+               };
+               partition@300000 {
+                       label = "Linux";
+                       reg = <0x300000 0xa00000>;
+               };
+               partition@1000000 {
+                       label = "Rootfs";
+                       reg = <0x01000000 0x02000000>;
+               };
+       };
+
+       cpld@1,0 {
+               compatible = "hisilicon,hip05-cpld";
+               reg = <1 0x0 0x100>;
+       };
+};
This page took 0.02847 seconds and 5 git commands to generate.