Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | /* * DTS File for HiSilicon Poplar Development Board * * Copyright (c) 2016-2017 HiSilicon Technologies Co., Ltd. * * Released under the GPLv2 only. * SPDX-License-Identifier: GPL-2.0 */ /dts-v1/; #include <dt-bindings/gpio/gpio.h> #include "hi3798cv200.dtsi" / { model = "HiSilicon Poplar Development Board"; compatible = "hisilicon,hi3798cv200-poplar", "hisilicon,hi3798cv200"; aliases { serial0 = &uart0; serial2 = &uart2; }; chosen { stdout-path = "serial0:115200n8"; }; memory@0 { device_type = "memory"; reg = <0x0 0x0 0x0 0x80000000>; }; leds { compatible = "gpio-leds"; user-led0 { label = "USER-LED0"; gpios = <&gpio6 3 GPIO_ACTIVE_LOW>; linux,default-trigger = "heartbeat"; default-state = "off"; }; user-led1 { label = "USER-LED1"; gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; linux,default-trigger = "mmc0"; default-state = "off"; }; user-led2 { label = "USER-LED2"; gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; linux,default-trigger = "none"; default-state = "off"; }; user-led3 { label = "USER-LED3"; gpios = <&gpio10 6 GPIO_ACTIVE_LOW>; linux,default-trigger = "cpu0"; default-state = "off"; }; }; }; &gmac1 { status = "okay"; #address-cells = <1>; #size-cells = <0>; phy-handle = <ð_phy1>; phy-mode = "rgmii"; hisilicon,phy-reset-delays-us = <10000 10000 30000>; eth_phy1: phy@3 { reg = <3>; }; }; &gpio1 { status = "okay"; gpio-line-names = "LS-GPIO-E", "", "", "", "", "LS-GPIO-F", "", "LS-GPIO-J"; }; &gpio2 { status = "okay"; gpio-line-names = "LS-GPIO-H", "LS-GPIO-I", "LS-GPIO-L", "LS-GPIO-G", "LS-GPIO-K", "", "", ""; }; &gpio3 { status = "okay"; gpio-line-names = "", "", "", "", "LS-GPIO-C", "", "", "LS-GPIO-B"; }; &gpio4 { status = "okay"; gpio-line-names = "", "", "", "", "", "LS-GPIO-D", "", ""; }; &gpio5 { status = "okay"; gpio-line-names = "", "USER-LED-1", "USER-LED-2", "", "", "LS-GPIO-A", "", ""; }; &gpio6 { status = "okay"; gpio-line-names = "", "", "", "USER-LED-0", "", "", "", ""; }; &gpio10 { status = "okay"; gpio-line-names = "", "", "", "", "", "", "USER-LED-3", ""; }; &i2c0 { status = "okay"; label = "LS-I2C0"; }; &i2c2 { status = "okay"; label = "LS-I2C1"; }; &ir { status = "okay"; }; &spi0 { status = "okay"; label = "LS-SPI0"; }; &uart0 { status = "okay"; }; &uart2 { status = "okay"; label = "LS-UART0"; }; /* No optional LS-UART1 on Low Speed Expansion Connector. */ |