1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (C) 2015 Andrea Merello <adnrea.merello@gmail.com> 4*724ba675SRob Herring * Copyright (C) 2017 Alexander Graf <agraf@suse.de> 5*724ba675SRob Herring * 6*724ba675SRob Herring * Based on zynq-zed.dts which is: 7*724ba675SRob Herring * Copyright (C) 2011 - 2014 Xilinx 8*724ba675SRob Herring * Copyright (C) 2012 National Instruments Corp. 9*724ba675SRob Herring * 10*724ba675SRob Herring */ 11*724ba675SRob Herring 12*724ba675SRob Herring/dts-v1/; 13*724ba675SRob Herring/include/ "zynq-7000.dtsi" 14*724ba675SRob Herring 15*724ba675SRob Herring/ { 16*724ba675SRob Herring compatible = "xlnx,zynq-7000"; 17*724ba675SRob Herring 18*724ba675SRob Herring aliases { 19*724ba675SRob Herring ethernet0 = &gem0; 20*724ba675SRob Herring serial0 = &uart1; 21*724ba675SRob Herring serial1 = &uart0; 22*724ba675SRob Herring mmc0 = &sdhci0; 23*724ba675SRob Herring }; 24*724ba675SRob Herring 25*724ba675SRob Herring memory@0 { 26*724ba675SRob Herring device_type = "memory"; 27*724ba675SRob Herring reg = <0x0 0x40000000>; 28*724ba675SRob Herring }; 29*724ba675SRob Herring 30*724ba675SRob Herring chosen { 31*724ba675SRob Herring stdout-path = "serial0:115200n8"; 32*724ba675SRob Herring }; 33*724ba675SRob Herring 34*724ba675SRob Herring gpio-leds { 35*724ba675SRob Herring compatible = "gpio-leds"; 36*724ba675SRob Herring usr-led1 { 37*724ba675SRob Herring label = "usr-led1"; 38*724ba675SRob Herring gpios = <&gpio0 0x0 0x1>; 39*724ba675SRob Herring default-state = "off"; 40*724ba675SRob Herring }; 41*724ba675SRob Herring 42*724ba675SRob Herring usr-led2 { 43*724ba675SRob Herring label = "usr-led2"; 44*724ba675SRob Herring gpios = <&gpio0 0x9 0x1>; 45*724ba675SRob Herring default-state = "off"; 46*724ba675SRob Herring }; 47*724ba675SRob Herring }; 48*724ba675SRob Herring 49*724ba675SRob Herring gpio-keys { 50*724ba675SRob Herring compatible = "gpio-keys"; 51*724ba675SRob Herring autorepeat; 52*724ba675SRob Herring key { 53*724ba675SRob Herring label = "K1"; 54*724ba675SRob Herring gpios = <&gpio0 0x32 0x1>; 55*724ba675SRob Herring linux,code = <0x66>; 56*724ba675SRob Herring wakeup-source; 57*724ba675SRob Herring autorepeat; 58*724ba675SRob Herring }; 59*724ba675SRob Herring }; 60*724ba675SRob Herring}; 61*724ba675SRob Herring 62*724ba675SRob Herring&clkc { 63*724ba675SRob Herring ps-clk-frequency = <33333333>; 64*724ba675SRob Herring}; 65*724ba675SRob Herring 66*724ba675SRob Herring&gem0 { 67*724ba675SRob Herring status = "okay"; 68*724ba675SRob Herring phy-mode = "rgmii-id"; 69*724ba675SRob Herring phy-handle = <ðernet_phy>; 70*724ba675SRob Herring 71*724ba675SRob Herring ethernet_phy: ethernet-phy@0 { 72*724ba675SRob Herring }; 73*724ba675SRob Herring}; 74*724ba675SRob Herring 75*724ba675SRob Herring&sdhci0 { 76*724ba675SRob Herring status = "okay"; 77*724ba675SRob Herring}; 78*724ba675SRob Herring 79*724ba675SRob Herring&uart0 { 80*724ba675SRob Herring status = "okay"; 81*724ba675SRob Herring}; 82*724ba675SRob Herring 83*724ba675SRob Herring&uart1 { 84*724ba675SRob Herring status = "okay"; 85*724ba675SRob Herring}; 86*724ba675SRob Herring 87*724ba675SRob Herring&usb0 { 88*724ba675SRob Herring status = "okay"; 89*724ba675SRob Herring dr_mode = "host"; 90*724ba675SRob Herring}; 91*724ba675SRob Herring 92*724ba675SRob Herring&can0 { 93*724ba675SRob Herring status = "okay"; 94*724ba675SRob Herring}; 95*724ba675SRob Herring 96*724ba675SRob Herring&i2c0 { 97*724ba675SRob Herring status = "okay"; 98*724ba675SRob Herring clock-frequency = <400000>; 99*724ba675SRob Herring 100*724ba675SRob Herring stlm75@49 { 101*724ba675SRob Herring status = "okay"; 102*724ba675SRob Herring compatible = "lm75"; 103*724ba675SRob Herring reg = <0x49>; 104*724ba675SRob Herring }; 105*724ba675SRob Herring 106*724ba675SRob Herring accelerometer@53 { 107*724ba675SRob Herring compatible = "adi,adxl345"; 108*724ba675SRob Herring reg = <0x53>; 109*724ba675SRob Herring interrupt-parent = <&intc>; 110*724ba675SRob Herring interrupts = <0x0 0x1e 0x4>; 111*724ba675SRob Herring }; 112*724ba675SRob Herring}; 113