ARM: dts: meson: add u-boot.dtsi for p200 and p201
[oweals/u-boot.git] / arch / arm / dts / exynos5250-spring.dts
index 7633d36874ff23c978c4744802640c19cfc1bf9f..c7553208adeed6f85255f9c412c0ced2427f7d34 100644 (file)
                mmc0 = "/mmc@12200000";
                serial0 = "/serial@12C30000";
                console = "/serial@12C30000";
-               i2s = "/sound@3830000";
        };
 
        memory {
                reg = <0x40000000 0x80000000>;
        };
 
+       iram {
+               reg = <0x02020000 0x60000>;
+       };
+
+       config {
+               samsung,bl1-offset = <0x1400>;
+               samsung,bl2-offset = <0x3400>;
+               u-boot-memory = "/memory";
+               u-boot-offset = <0x3e00000 0x100000>;
+       };
+
        flash@0 {
-               spl { /* spl size override */
-                       size = <0x8000>;
+               reg = <0 0x100000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               pre-boot {
+                       label = "bl1 pre-boot";
+                       reg = <0 0x2000>;
+                       read-only;
+                       filename = "e5250.nbl1.bin";
+                       type = "blob exynos-bl1";
+                       required;
+               };
+
+               spl {
+                       label = "bl2 spl";
+                       reg = <0x2000 0x8000>;
+                       read-only;
+                       filename = "bl2.bin";
+                       type = "blob exynos-bl2 boot,dtb";
+                       payload = "/flash/ro-boot";
+                       required;
+               };
+
+               ro-boot {
+                       label = "u-boot";
+                       reg = <0xa000 0xb0000>;
+                       read-only;
+                       type = "blob boot,dtb";
+                       required;
                };
        };
 
                samsung,vbus-gpio = <&gpx2 7 GPIO_ACTIVE_HIGH>;
        };
 
+       sound {
+               compatible = "google,spring-audio-max98088";
+
+               samsung,model = "Spring-I2S-MAX98088";
+               samsung,audio-codec = <&max98088>;
+               codec-enable-gpio = <&gpx1 7 0>;
+
+               cpu {
+                       sound-dai = <&i2s1 0>;
+               };
+
+               codec {
+                       sound-dai = <&max98088 0>;
+               };
+       };
+
        spi@12d30000 {
                spi-max-frequency = <50000000>;
                firmware_storage_spi: flash@0 {
                };
        };
 
-       soundcodec@20 {
-               reg = <0x20>;
-               compatible = "maxim,max98088-codec";
+       max98088: soundcodec@10 {
+               reg = <0x10>;
+               compatible = "maxim,max98088";
+               #sound-dai-cells = <1>;
        };
 };