1 // SPDX-License-Identifier: GPL-2.0 << 2 /* 1 /* 3 * DTS File for HiSilicon Poplar Development B 2 * DTS File for HiSilicon Poplar Development Board 4 * 3 * 5 * Copyright (c) 2016-2017 HiSilicon Technolog 4 * Copyright (c) 2016-2017 HiSilicon Technologies Co., Ltd. >> 5 * >> 6 * Released under the GPLv2 only. >> 7 * SPDX-License-Identifier: GPL-2.0 6 */ 8 */ 7 9 8 /dts-v1/; 10 /dts-v1/; 9 11 10 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/gpio/gpio.h> 11 #include "hi3798cv200.dtsi" 13 #include "hi3798cv200.dtsi" 12 #include "poplar-pinctrl.dtsi" << 13 14 14 / { 15 / { 15 model = "HiSilicon Poplar Development 16 model = "HiSilicon Poplar Development Board"; 16 compatible = "hisilicon,hi3798cv200-po 17 compatible = "hisilicon,hi3798cv200-poplar", "hisilicon,hi3798cv200"; 17 18 18 aliases { 19 aliases { 19 serial0 = &uart0; 20 serial0 = &uart0; 20 serial2 = &uart2; 21 serial2 = &uart2; 21 }; 22 }; 22 23 23 chosen { 24 chosen { 24 stdout-path = "serial0:115200n 25 stdout-path = "serial0:115200n8"; 25 }; 26 }; 26 27 27 memory@0 { 28 memory@0 { 28 device_type = "memory"; 29 device_type = "memory"; 29 reg = <0x0 0x0 0x0 0x80000000> 30 reg = <0x0 0x0 0x0 0x80000000>; 30 }; 31 }; 31 32 32 leds { 33 leds { 33 compatible = "gpio-leds"; 34 compatible = "gpio-leds"; 34 35 35 user-led0 { 36 user-led0 { 36 label = "green:user1"; !! 37 label = "USER-LED0"; 37 gpios = <&gpio6 3 GPIO 38 gpios = <&gpio6 3 GPIO_ACTIVE_LOW>; 38 linux,default-trigger 39 linux,default-trigger = "heartbeat"; 39 default-state = "off"; 40 default-state = "off"; 40 }; 41 }; 41 42 42 user-led1 { 43 user-led1 { 43 label = "green:user2"; !! 44 label = "USER-LED1"; 44 gpios = <&gpio5 1 GPIO 45 gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; 45 linux,default-trigger 46 linux,default-trigger = "mmc0"; 46 default-state = "off"; 47 default-state = "off"; 47 }; 48 }; 48 49 49 user-led2 { 50 user-led2 { 50 label = "green:user3"; !! 51 label = "USER-LED2"; 51 gpios = <&gpio5 2 GPIO 52 gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; 52 linux,default-trigger !! 53 linux,default-trigger = "none"; 53 default-state = "off"; 54 default-state = "off"; 54 }; 55 }; 55 56 56 user-led3 { 57 user-led3 { 57 label = "green:user4"; !! 58 label = "USER-LED3"; 58 gpios = <&gpio10 6 GPI 59 gpios = <&gpio10 6 GPIO_ACTIVE_LOW>; 59 linux,default-trigger !! 60 linux,default-trigger = "cpu0"; 60 panic-indicator; << 61 default-state = "off"; 61 default-state = "off"; 62 }; 62 }; 63 }; 63 }; 64 << 65 reg_pcie: regulator-pcie { << 66 compatible = "regulator-fixed" << 67 regulator-name = "3V3_PCIE0"; << 68 regulator-min-microvolt = <330 << 69 regulator-max-microvolt = <330 << 70 gpio = <&gpio6 7 0>; << 71 enable-active-high; << 72 }; << 73 }; << 74 << 75 &ehci { << 76 status = "okay"; << 77 }; << 78 << 79 &emmc { << 80 pinctrl-names = "default"; << 81 pinctrl-0 = <&emmc_pins_1 &emmc_pins_2 << 82 &emmc_pins_3 &emmc_pins_4 << 83 fifo-depth = <256>; << 84 clock-frequency = <200000000>; << 85 cap-mmc-highspeed; << 86 mmc-ddr-1_8v; << 87 mmc-hs200-1_8v; << 88 non-removable; << 89 bus-width = <8>; << 90 status = "okay"; << 91 }; 64 }; 92 65 93 &gmac1 { 66 &gmac1 { 94 status = "okay"; 67 status = "okay"; 95 #address-cells = <1>; 68 #address-cells = <1>; 96 #size-cells = <0>; 69 #size-cells = <0>; 97 phy-handle = <ð_phy1>; 70 phy-handle = <ð_phy1>; 98 phy-mode = "rgmii"; 71 phy-mode = "rgmii"; 99 hisilicon,phy-reset-delays-us = <10000 72 hisilicon,phy-reset-delays-us = <10000 10000 30000>; 100 73 101 eth_phy1: phy@3 { 74 eth_phy1: phy@3 { 102 reg = <3>; 75 reg = <3>; 103 }; 76 }; 104 }; 77 }; 105 78 106 &gpio1 { 79 &gpio1 { 107 status = "okay"; 80 status = "okay"; 108 gpio-line-names = "GPIO-E", "", !! 81 gpio-line-names = "LS-GPIO-E", "", 109 "", "", 82 "", "", 110 "", "GPIO- !! 83 "", "LS-GPIO-F", 111 "", "GPIO- !! 84 "", "LS-GPIO-J"; 112 }; 85 }; 113 86 114 &gpio2 { 87 &gpio2 { 115 status = "okay"; 88 status = "okay"; 116 gpio-line-names = "GPIO-H", "GPIO- !! 89 gpio-line-names = "LS-GPIO-H", "LS-GPIO-I", 117 "GPIO-L", "GPIO- !! 90 "LS-GPIO-L", "LS-GPIO-G", 118 "GPIO-K", "", !! 91 "LS-GPIO-K", "", 119 "", ""; 92 "", ""; 120 }; 93 }; 121 94 122 &gpio3 { 95 &gpio3 { 123 status = "okay"; 96 status = "okay"; 124 gpio-line-names = "", "", 97 gpio-line-names = "", "", 125 "", "", 98 "", "", 126 "GPIO-C", "", !! 99 "LS-GPIO-C", "", 127 "", "GPIO- !! 100 "", "LS-GPIO-B"; 128 }; 101 }; 129 102 130 &gpio4 { 103 &gpio4 { 131 status = "okay"; 104 status = "okay"; 132 gpio-line-names = "", "", 105 gpio-line-names = "", "", 133 "", "", 106 "", "", 134 "", "GPIO- !! 107 "", "LS-GPIO-D", 135 "", ""; 108 "", ""; 136 }; 109 }; 137 110 138 &gpio5 { 111 &gpio5 { 139 status = "okay"; 112 status = "okay"; 140 gpio-line-names = "", "USER- 113 gpio-line-names = "", "USER-LED-1", 141 "USER-LED-2", "", 114 "USER-LED-2", "", 142 "", "GPIO- !! 115 "", "LS-GPIO-A", 143 "", ""; 116 "", ""; 144 }; 117 }; 145 118 146 &gpio6 { 119 &gpio6 { 147 status = "okay"; 120 status = "okay"; 148 gpio-line-names = "", "", 121 gpio-line-names = "", "", 149 "", "USER- 122 "", "USER-LED-0", 150 "", "", 123 "", "", 151 "", ""; 124 "", ""; 152 }; 125 }; 153 126 154 &gpio10 { 127 &gpio10 { 155 status = "okay"; 128 status = "okay"; 156 gpio-line-names = "", "", 129 gpio-line-names = "", "", 157 "", "", 130 "", "", 158 "", "", 131 "", "", 159 "USER-LED-3", ""; 132 "USER-LED-3", ""; 160 }; 133 }; 161 134 162 &i2c0 { 135 &i2c0 { 163 status = "okay"; 136 status = "okay"; 164 label = "LS-I2C0"; 137 label = "LS-I2C0"; 165 }; 138 }; 166 139 167 &i2c2 { 140 &i2c2 { 168 status = "okay"; 141 status = "okay"; 169 label = "LS-I2C1"; 142 label = "LS-I2C1"; 170 }; 143 }; 171 144 172 &ir { 145 &ir { 173 linux,rc-map-name = "rc-hisi-poplar"; << 174 status = "okay"; << 175 }; << 176 << 177 &ohci { << 178 status = "okay"; << 179 }; << 180 << 181 &pcie { << 182 reset-gpios = <&gpio4 4 GPIO_ACTIVE_HI << 183 vpcie-supply = <®_pcie>; << 184 status = "okay"; << 185 }; << 186 << 187 &sd0 { << 188 bus-width = <4>; << 189 cap-sd-highspeed; << 190 status = "okay"; 146 status = "okay"; 191 }; 147 }; 192 148 193 &spi0 { 149 &spi0 { 194 status = "okay"; 150 status = "okay"; 195 label = "LS-SPI0"; 151 label = "LS-SPI0"; 196 }; 152 }; 197 153 198 &uart0 { 154 &uart0 { 199 status = "okay"; 155 status = "okay"; 200 }; 156 }; 201 157 202 &uart2 { 158 &uart2 { 203 status = "okay"; 159 status = "okay"; 204 label = "LS-UART0"; 160 label = "LS-UART0"; 205 }; 161 }; 206 /* No optional LS-UART1 on Low Speed Expansion 162 /* No optional LS-UART1 on Low Speed Expansion Connector. */
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.