1 // SPDX-License-Identifier: GPL-2.0-or-later O 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 // Copyright (c) 2018, Robert Marko <robimarko@ 2 // Copyright (c) 2018, Robert Marko <robimarko@gmail.com> 3 3 4 #include "qcom-ipq4019.dtsi" 4 #include "qcom-ipq4019.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/input/input.h> 7 7 8 / { 8 / { 9 model = "8devices Jalapeno"; 9 model = "8devices Jalapeno"; 10 compatible = "8dev,jalapeno", "qcom,ip 10 compatible = "8dev,jalapeno", "qcom,ipq4018"; 11 }; 11 }; 12 12 13 &tlmm { 13 &tlmm { 14 mdio_pins: mdio-state { !! 14 mdio_pins: mdio_pinmux { 15 mdio-pins { !! 15 pinmux_1 { 16 pins = "gpio53"; 16 pins = "gpio53"; 17 function = "mdio"; 17 function = "mdio"; 18 bias-pull-up; << 19 }; 18 }; 20 19 21 mdc-pins { !! 20 pinmux_2 { 22 pins = "gpio52"; 21 pins = "gpio52"; 23 function = "mdc"; 22 function = "mdc"; >> 23 }; >> 24 >> 25 pinconf { >> 26 pins = "gpio52", "gpio53"; 24 bias-pull-up; 27 bias-pull-up; 25 }; 28 }; 26 }; 29 }; 27 30 28 serial_pins: serial-state{ !! 31 serial_pins: serial_pinmux { 29 pins = "gpio60", "gpio61"; !! 32 mux { 30 function = "blsp_uart0"; !! 33 pins = "gpio60", "gpio61"; 31 bias-disable; !! 34 function = "blsp_uart0"; >> 35 bias-disable; >> 36 }; 32 }; 37 }; 33 38 34 spi_0_pins: spi-0-state { !! 39 spi_0_pins: spi_0_pinmux { 35 spi0-pins { !! 40 pin { 36 function = "blsp_spi0" 41 function = "blsp_spi0"; 37 pins = "gpio55", "gpio 42 pins = "gpio55", "gpio56", "gpio57"; 38 drive-strength = <2>; 43 drive-strength = <2>; 39 bias-disable; 44 bias-disable; 40 }; 45 }; 41 46 42 spi0-cs-pins { !! 47 pin_cs { 43 function = "gpio"; 48 function = "gpio"; 44 pins = "gpio54", "gpio 49 pins = "gpio54", "gpio59"; 45 drive-strength = <2>; 50 drive-strength = <2>; 46 bias-disable; 51 bias-disable; 47 output-high; 52 output-high; 48 }; 53 }; 49 }; 54 }; 50 }; 55 }; 51 56 52 &watchdog { 57 &watchdog { 53 status = "okay"; 58 status = "okay"; 54 }; 59 }; 55 60 56 &prng { 61 &prng { 57 status = "okay"; 62 status = "okay"; 58 }; 63 }; 59 64 60 &blsp_dma { 65 &blsp_dma { 61 status = "okay"; 66 status = "okay"; 62 }; 67 }; 63 68 64 &blsp1_spi1 { 69 &blsp1_spi1 { 65 status = "okay"; 70 status = "okay"; 66 71 67 pinctrl-0 = <&spi_0_pins>; 72 pinctrl-0 = <&spi_0_pins>; 68 pinctrl-names = "default"; 73 pinctrl-names = "default"; 69 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH> 74 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>, <&tlmm 59 GPIO_ACTIVE_HIGH>; 70 75 71 flash@0 { 76 flash@0 { 72 status = "okay"; 77 status = "okay"; 73 78 74 compatible = "jedec,spi-nor"; 79 compatible = "jedec,spi-nor"; 75 reg = <0>; 80 reg = <0>; 76 spi-max-frequency = <24000000> 81 spi-max-frequency = <24000000>; 77 82 78 partitions { 83 partitions { 79 compatible = "fixed-pa 84 compatible = "fixed-partitions"; 80 #address-cells = <1>; 85 #address-cells = <1>; 81 #size-cells = <1>; 86 #size-cells = <1>; 82 87 83 partition@0 { 88 partition@0 { 84 label = "SBL1" 89 label = "SBL1"; 85 reg = <0x00000 90 reg = <0x00000000 0x00040000>; 86 read-only; 91 read-only; 87 }; 92 }; 88 93 89 partition@40000 { 94 partition@40000 { 90 label = "MIBIB 95 label = "MIBIB"; 91 reg = <0x00040 96 reg = <0x00040000 0x00020000>; 92 read-only; 97 read-only; 93 }; 98 }; 94 99 95 partition@60000 { 100 partition@60000 { 96 label = "QSEE" 101 label = "QSEE"; 97 reg = <0x00060 102 reg = <0x00060000 0x00060000>; 98 read-only; 103 read-only; 99 }; 104 }; 100 105 101 partition@c0000 { 106 partition@c0000 { 102 label = "CDT"; 107 label = "CDT"; 103 reg = <0x000c0 108 reg = <0x000c0000 0x00010000>; 104 read-only; 109 read-only; 105 }; 110 }; 106 111 107 partition@d0000 { 112 partition@d0000 { 108 label = "DDRPA 113 label = "DDRPARAMS"; 109 reg = <0x000d0 114 reg = <0x000d0000 0x00010000>; 110 read-only; 115 read-only; 111 }; 116 }; 112 117 113 partition@e0000 { 118 partition@e0000 { 114 label = "u-boo 119 label = "u-boot-env"; 115 reg = <0x000e0 120 reg = <0x000e0000 0x00010000>; 116 }; 121 }; 117 122 118 partition@f0000 { 123 partition@f0000 { 119 label = "u-boo 124 label = "u-boot"; 120 reg = <0x000f0 125 reg = <0x000f0000 0x00080000>; 121 read-only; 126 read-only; 122 }; 127 }; 123 128 124 partition@170000 { 129 partition@170000 { 125 label = "ART"; 130 label = "ART"; 126 reg = <0x00170 131 reg = <0x00170000 0x00010000>; 127 read-only; 132 read-only; 128 }; 133 }; 129 }; 134 }; 130 }; 135 }; 131 136 132 spi-nand@1 { 137 spi-nand@1 { 133 status = "okay"; 138 status = "okay"; 134 139 135 compatible = "spi-nand"; 140 compatible = "spi-nand"; 136 reg = <1>; 141 reg = <1>; 137 spi-max-frequency = <24000000> 142 spi-max-frequency = <24000000>; 138 143 139 partitions { 144 partitions { 140 compatible = "fixed-pa 145 compatible = "fixed-partitions"; 141 #address-cells = <1>; 146 #address-cells = <1>; 142 #size-cells = <1>; 147 #size-cells = <1>; 143 148 144 partition@0 { 149 partition@0 { 145 label = "ubi1" 150 label = "ubi1"; 146 reg = <0x00000 151 reg = <0x00000000 0x04000000>; 147 }; 152 }; 148 153 149 partition@4000000 { 154 partition@4000000 { 150 label = "ubi2" 155 label = "ubi2"; 151 reg = <0x04000 156 reg = <0x04000000 0x04000000>; 152 }; 157 }; 153 }; 158 }; 154 }; 159 }; 155 }; 160 }; 156 161 157 &blsp1_uart1 { 162 &blsp1_uart1 { 158 status = "okay"; 163 status = "okay"; 159 164 160 pinctrl-0 = <&serial_pins>; 165 pinctrl-0 = <&serial_pins>; 161 pinctrl-names = "default"; 166 pinctrl-names = "default"; 162 }; 167 }; 163 168 164 &cryptobam { 169 &cryptobam { 165 status = "okay"; 170 status = "okay"; 166 }; 171 }; 167 172 168 &crypto { 173 &crypto { 169 status = "okay"; 174 status = "okay"; 170 }; 175 }; 171 176 172 &mdio { 177 &mdio { 173 status = "okay"; 178 status = "okay"; 174 179 175 pinctrl-0 = <&mdio_pins>; 180 pinctrl-0 = <&mdio_pins>; 176 pinctrl-names = "default"; 181 pinctrl-names = "default"; 177 }; 182 }; 178 183 179 &wifi0 { 184 &wifi0 { 180 status = "okay"; 185 status = "okay"; 181 186 182 qcom,ath10k-calibration-variant = "8de 187 qcom,ath10k-calibration-variant = "8devices-Jalapeno"; 183 }; 188 }; 184 189 185 &wifi1 { 190 &wifi1 { 186 status = "okay"; 191 status = "okay"; 187 192 188 qcom,ath10k-calibration-variant = "8de 193 qcom,ath10k-calibration-variant = "8devices-Jalapeno"; 189 }; 194 }; 190 195 191 &usb3_ss_phy { 196 &usb3_ss_phy { 192 status = "okay"; 197 status = "okay"; 193 }; 198 }; 194 199 195 &usb3_hs_phy { 200 &usb3_hs_phy { 196 status = "okay"; 201 status = "okay"; 197 }; 202 }; 198 203 199 &usb3 { 204 &usb3 { 200 status = "okay"; 205 status = "okay"; 201 }; 206 }; 202 207 203 &usb2_hs_phy { 208 &usb2_hs_phy { 204 status = "okay"; 209 status = "okay"; 205 }; 210 }; 206 211 207 &usb2 { 212 &usb2 { 208 status = "okay"; 213 status = "okay"; 209 }; 214 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.