1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*c66ec88fSEmmanuel Vadot/* 3*c66ec88fSEmmanuel Vadot * Copyright (c) 2017 Andreas Färber 4*c66ec88fSEmmanuel Vadot */ 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel Vadot/dts-v1/; 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel Vadot#include "s700.dtsi" 9*c66ec88fSEmmanuel Vadot 10*c66ec88fSEmmanuel Vadot/ { 11*c66ec88fSEmmanuel Vadot compatible = "cubietech,cubieboard7", "actions,s700"; 12*c66ec88fSEmmanuel Vadot model = "CubieBoard7"; 13*c66ec88fSEmmanuel Vadot 14*c66ec88fSEmmanuel Vadot aliases { 15*c66ec88fSEmmanuel Vadot serial3 = &uart3; 16*c66ec88fSEmmanuel Vadot }; 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel Vadot chosen { 19*c66ec88fSEmmanuel Vadot stdout-path = "serial3:115200n8"; 20*c66ec88fSEmmanuel Vadot }; 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel Vadot memory@0 { 23*c66ec88fSEmmanuel Vadot device_type = "memory"; 24*c66ec88fSEmmanuel Vadot reg = <0x0 0x0 0x0 0x80000000>; 25*c66ec88fSEmmanuel Vadot }; 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel Vadot memory@1,e0000000 { 28*c66ec88fSEmmanuel Vadot device_type = "memory"; 29*c66ec88fSEmmanuel Vadot reg = <0x1 0xe0000000 0x0 0x0>; 30*c66ec88fSEmmanuel Vadot }; 31*c66ec88fSEmmanuel Vadot}; 32*c66ec88fSEmmanuel Vadot 33*c66ec88fSEmmanuel Vadot&i2c0 { 34*c66ec88fSEmmanuel Vadot status = "okay"; 35*c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 36*c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c0_default>; 37*c66ec88fSEmmanuel Vadot}; 38*c66ec88fSEmmanuel Vadot 39*c66ec88fSEmmanuel Vadot&i2c1 { 40*c66ec88fSEmmanuel Vadot status = "okay"; 41*c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 42*c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c1_default>; 43*c66ec88fSEmmanuel Vadot}; 44*c66ec88fSEmmanuel Vadot 45*c66ec88fSEmmanuel Vadot&i2c2 { 46*c66ec88fSEmmanuel Vadot status = "disabled"; 47*c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 48*c66ec88fSEmmanuel Vadot pinctrl-0 = <&i2c2_default>; 49*c66ec88fSEmmanuel Vadot}; 50*c66ec88fSEmmanuel Vadot 51*c66ec88fSEmmanuel Vadot&pinctrl { 52*c66ec88fSEmmanuel Vadot i2c0_default: i2c0_default { 53*c66ec88fSEmmanuel Vadot pinmux { 54*c66ec88fSEmmanuel Vadot groups = "i2c0_mfp"; 55*c66ec88fSEmmanuel Vadot function = "i2c0"; 56*c66ec88fSEmmanuel Vadot }; 57*c66ec88fSEmmanuel Vadot pinconf { 58*c66ec88fSEmmanuel Vadot pins = "i2c0_sclk", "i2c0_sdata"; 59*c66ec88fSEmmanuel Vadot bias-pull-up; 60*c66ec88fSEmmanuel Vadot }; 61*c66ec88fSEmmanuel Vadot }; 62*c66ec88fSEmmanuel Vadot 63*c66ec88fSEmmanuel Vadot i2c1_default: i2c1_default { 64*c66ec88fSEmmanuel Vadot pinmux { 65*c66ec88fSEmmanuel Vadot groups = "i2c1_dummy"; 66*c66ec88fSEmmanuel Vadot function = "i2c1"; 67*c66ec88fSEmmanuel Vadot }; 68*c66ec88fSEmmanuel Vadot pinconf { 69*c66ec88fSEmmanuel Vadot pins = "i2c1_sclk", "i2c1_sdata"; 70*c66ec88fSEmmanuel Vadot bias-pull-up; 71*c66ec88fSEmmanuel Vadot }; 72*c66ec88fSEmmanuel Vadot }; 73*c66ec88fSEmmanuel Vadot 74*c66ec88fSEmmanuel Vadot i2c2_default: i2c2_default { 75*c66ec88fSEmmanuel Vadot pinmux { 76*c66ec88fSEmmanuel Vadot groups = "i2c2_dummy"; 77*c66ec88fSEmmanuel Vadot function = "i2c2"; 78*c66ec88fSEmmanuel Vadot }; 79*c66ec88fSEmmanuel Vadot pinconf { 80*c66ec88fSEmmanuel Vadot pins = "i2c2_sclk", "i2c2_sdata"; 81*c66ec88fSEmmanuel Vadot bias-pull-up; 82*c66ec88fSEmmanuel Vadot }; 83*c66ec88fSEmmanuel Vadot }; 84*c66ec88fSEmmanuel Vadot}; 85*c66ec88fSEmmanuel Vadot 86*c66ec88fSEmmanuel Vadot&timer { 87*c66ec88fSEmmanuel Vadot clocks = <&hosc>; 88*c66ec88fSEmmanuel Vadot}; 89*c66ec88fSEmmanuel Vadot 90*c66ec88fSEmmanuel Vadot&uart3 { 91*c66ec88fSEmmanuel Vadot status = "okay"; 92*c66ec88fSEmmanuel Vadot}; 93