arm: dts: rk3288-evb: add ion support
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / rk3288-evb.dtsi
index d8981b7e1fcac1680b527fa5fc82c724d4f99d56..41b8eae3304cf3ef1e80d7d9ab5492551928cb60 100644 (file)
                bootargs = "earlycon=uart8250,mmio32,0xff690000 swiotlb=1";
        };
 
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               drm_logo: drm-logo@00000000 {
+                       compatible = "rockchip,drm-logo";
+                       reg = <0x0 0x0>;
+               };
+
+               /* global autoconfigured region for contiguous allocations */
+               linux,cma {
+                       compatible = "shared-dma-pool";
+                       reusable;
+                       size = <0x0 0x2000000>;
+                       linux,cma-default;
+               };
+       };
+
+       ion {
+               compatible = "rockchip,ion";
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               cma-heap {
+                       reg = <0x00000000 0x2000000>;
+               };
+
+               system-heap {
+               };
+       };
+
        backlight: backlight {
                compatible = "pwm-backlight";
                brightness-levels = <
        };
 };
 
+&i2c4 {
+       status = "okay";
+
+       gsl3673@40 {
+               compatible = "GSL,GSL3673";
+               reg = <0x40>;
+               screen_max_x = <1536>;
+               screen_max_y = <2048>;
+               irq_gpio_number = <&gpio7 6 IRQ_TYPE_LEVEL_LOW>;
+               rst_gpio_number = <&gpio7 5 GPIO_ACTIVE_HIGH>;
+               status = "okay";
+       };
+};
+
 &i2s {
        #sound-dai-cells = <0>;
        status = "okay";