Move the native-mode property inside the display-timings node.

According to
Documentation/devicetree/bindings/display/panel/display-timing.txt.
native-mode is a property of the display-timings node.

If it's located outside of display-timings, the native-mode setting is
ignored and the first display timing is used (which is a problem only if
someone adds another display timing).

Signed-off-by: Martin Kaiser <mar...@kaiser.cx>
---
 arch/arm/boot/dts/ep7211-edb7211.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/ep7211-edb7211.dts 
b/arch/arm/boot/dts/ep7211-edb7211.dts
index a0c270f63fee..da076479c8e2 100644
--- a/arch/arm/boot/dts/ep7211-edb7211.dts
+++ b/arch/arm/boot/dts/ep7211-edb7211.dts
@@ -25,11 +25,11 @@
 
        display: display {
                model = "320x240x4";
-               native-mode = <&timing0>;
                bits-per-pixel = <4>;
                ac-prescale = <17>;
 
                display-timings {
+                       native-mode = <&timing0>;
                        timing0: 320x240 {
                                hactive = <320>;
                                hback-porch = <0>;
-- 
2.11.0

Reply via email to