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