1*2e36db14SWarner Losh/*- 2*2e36db14SWarner Losh * Copyright (c) 2014 Ruslan Bukin <br@bsdpad.com> 3*2e36db14SWarner Losh * All rights reserved. 4*2e36db14SWarner Losh * 5*2e36db14SWarner Losh * Redistribution and use in source and binary forms, with or without 6*2e36db14SWarner Losh * modification, are permitted provided that the following conditions 7*2e36db14SWarner Losh * are met: 8*2e36db14SWarner Losh * 1. Redistributions of source code must retain the above copyright 9*2e36db14SWarner Losh * notice, this list of conditions and the following disclaimer. 10*2e36db14SWarner Losh * 2. Redistributions in binary form must reproduce the above copyright 11*2e36db14SWarner Losh * notice, this list of conditions and the following disclaimer in the 12*2e36db14SWarner Losh * documentation and/or other materials provided with the distribution. 13*2e36db14SWarner Losh * 14*2e36db14SWarner Losh * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15*2e36db14SWarner Losh * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16*2e36db14SWarner Losh * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17*2e36db14SWarner Losh * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18*2e36db14SWarner Losh * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19*2e36db14SWarner Losh * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20*2e36db14SWarner Losh * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21*2e36db14SWarner Losh * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22*2e36db14SWarner Losh * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23*2e36db14SWarner Losh * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24*2e36db14SWarner Losh * SUCH DAMAGE. 25*2e36db14SWarner Losh */ 26*2e36db14SWarner Losh 27*2e36db14SWarner Losh/dts-v1/; 28*2e36db14SWarner Losh 29*2e36db14SWarner Losh/include/ "vybrid.dtsi" 30*2e36db14SWarner Losh 31*2e36db14SWarner Losh/ { 32*2e36db14SWarner Losh model = "Device Solutions Quartz Module"; 33*2e36db14SWarner Losh 34*2e36db14SWarner Losh memory { 35*2e36db14SWarner Losh device_type = "memory"; 36*2e36db14SWarner Losh reg = < 0x80000000 0x10000000 >; /* 256MB RAM */ 37*2e36db14SWarner Losh }; 38*2e36db14SWarner Losh 39*2e36db14SWarner Losh SOC: vybrid { 40*2e36db14SWarner Losh serial0: serial@40027000 { 41*2e36db14SWarner Losh status = "okay"; 42*2e36db14SWarner Losh }; 43*2e36db14SWarner Losh 44*2e36db14SWarner Losh fec1: ethernet@400D1000 { 45*2e36db14SWarner Losh status = "okay"; 46*2e36db14SWarner Losh iomux_config = < 54 0x103192 47*2e36db14SWarner Losh 55 0x103193 48*2e36db14SWarner Losh 56 0x103191 49*2e36db14SWarner Losh 57 0x103191 50*2e36db14SWarner Losh 58 0x103191 51*2e36db14SWarner Losh 59 0x103191 52*2e36db14SWarner Losh 60 0x103192 53*2e36db14SWarner Losh 61 0x103192 54*2e36db14SWarner Losh 62 0x103192 55*2e36db14SWarner Losh 0 0x203191 >; 56*2e36db14SWarner Losh }; 57*2e36db14SWarner Losh 58*2e36db14SWarner Losh edma1: edma@40098000 { 59*2e36db14SWarner Losh status = "okay"; 60*2e36db14SWarner Losh }; 61*2e36db14SWarner Losh 62*2e36db14SWarner Losh dcu0: dcu4@40058000 { 63*2e36db14SWarner Losh status = "okay"; 64*2e36db14SWarner Losh 65*2e36db14SWarner Losh panel-size = < 800 480 >; 66*2e36db14SWarner Losh panel-hsync = < 40 48 40 >; 67*2e36db14SWarner Losh panel-vsync = < 29 3 13 >; 68*2e36db14SWarner Losh panel-clk-div = < 17 >; 69*2e36db14SWarner Losh panel-backlight-pin = < 25 >; 70*2e36db14SWarner Losh 71*2e36db14SWarner Losh iomux_config = < 105 0x1001c4 /* hsync */ 72*2e36db14SWarner Losh 106 0x1001c4 /* vsync */ 73*2e36db14SWarner Losh 107 0x1001e0 /* pclk */ 74*2e36db14SWarner Losh 108 0x1001e0 75*2e36db14SWarner Losh 109 0x1001be /* de */ 76*2e36db14SWarner Losh 110 0x1001e0 /* r0 */ 77*2e36db14SWarner Losh 111 0x1001e0 78*2e36db14SWarner Losh 112 0x1001e0 79*2e36db14SWarner Losh 113 0x1001e0 80*2e36db14SWarner Losh 114 0x1001e0 81*2e36db14SWarner Losh 115 0x1001e0 82*2e36db14SWarner Losh 116 0x1001e0 83*2e36db14SWarner Losh 117 0x1001e0 84*2e36db14SWarner Losh 118 0x1001e0 /* g0 */ 85*2e36db14SWarner Losh 119 0x1001e0 86*2e36db14SWarner Losh 120 0x1001e0 87*2e36db14SWarner Losh 121 0x1001e0 88*2e36db14SWarner Losh 122 0x1001e0 89*2e36db14SWarner Losh 123 0x1001e0 90*2e36db14SWarner Losh 124 0x1001e0 91*2e36db14SWarner Losh 125 0x1001e0 92*2e36db14SWarner Losh 126 0x1001e0 /* b0 */ 93*2e36db14SWarner Losh 127 0x1001e0 94*2e36db14SWarner Losh 128 0x1001e0 95*2e36db14SWarner Losh 129 0x1001e0 96*2e36db14SWarner Losh 130 0x1001e0 97*2e36db14SWarner Losh 131 0x1001e0 98*2e36db14SWarner Losh 132 0x1001e0 99*2e36db14SWarner Losh 133 0x1001e0 100*2e36db14SWarner Losh 25 0x0001be >; /* led */ 101*2e36db14SWarner Losh }; 102*2e36db14SWarner Losh 103*2e36db14SWarner Losh tcon0: tcon@4003D000 { 104*2e36db14SWarner Losh status = "okay"; 105*2e36db14SWarner Losh }; 106*2e36db14SWarner Losh }; 107*2e36db14SWarner Losh 108*2e36db14SWarner Losh chosen { 109*2e36db14SWarner Losh bootargs = "-v"; 110*2e36db14SWarner Losh stdin = "serial0"; 111*2e36db14SWarner Losh stdout = "serial0"; 112*2e36db14SWarner Losh }; 113*2e36db14SWarner Losh}; 114