These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / arch / arm / boot / dts / ste-nomadik-s8815.dts
index 85d3b95..35282c0 100644 (file)
                bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk";
        };
 
+       aliases {
+               serial0 = &uart0;
+               serial1 = &uart1;
+       };
+
+       gpio3: gpio@101e7000 {
+               /* This hog will bias the MMC/SD card detect line */
+               mmcsd-gpio {
+                       gpio-hog;
+                       gpios = <16 0x0>;
+                       output-low;
+                       line-name = "card detect bias";
+               };
+       };
+
        src@101e0000 {
                /* These chrystal drivers are not used on this board */
                disable-sxtalo;
                pinctrl-names = "default";
                pinctrl-0 = <&cd_default_mode>;
 
+               uart0 {
+                       /* Only use RX/TX pins */
+                       uart0_s8815_mode: uart0_mux {
+                               u0_default_mux {
+                                       function = "u0";
+                                       groups = "u0txrx_a_1";
+                               };
+                       };
+               };
                mmcsd-cd {
                        cd_default_mode: cd_default {
                                cd_default_cfg1 {
                };
        };
 
+       i2c1 {
+               lis3lv02dl@1d {
+                       /* Accelerometer */
+                       compatible = "st,lis3lv02dl-accel";
+                       reg = <0x1d>;
+               };
+       };
+
        /* GPIO I2C connected to the USB portions of the STw4811 only */
        gpio-i2c {
                compatible = "i2c-gpio";
        };
 
 
-       /* Configure card detect for the uSD slot */
        amba {
+               /* Activate RXTX on UART 0 */
+               uart0: uart@101fd000 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&uart0_s8815_mode>;
+                       status = "okay";
+               };
+               /* Configure card detect for the uSD slot */
                mmcsd: sdi@101f6000 {
                        cd-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
                };
        };
 
-       /* Custom board node with GPIO pins to active etc */
-       usb-s8815 {
-               /* This will bias the MMC/SD card detect line */
-               mmcsd-gpio {
-                       gpios = <&gpio3 16 0x1>;
-               };
-       };
-
        /* The user LED on the board is set up to be used for heartbeat */
        leds {
                compatible = "gpio-leds";