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