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