1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * Device Tree Source for the Alt board 3 * Device Tree Source for the Alt board 4 * 4 * 5 * Copyright (C) 2014 Renesas Electronics Corp 5 * Copyright (C) 2014 Renesas Electronics Corporation 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 #include "r8a7794.dtsi" 9 #include "r8a7794.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/input/input.h> 12 12 13 / { 13 / { 14 model = "Alt"; 14 model = "Alt"; 15 compatible = "renesas,alt", "renesas,r 15 compatible = "renesas,alt", "renesas,r8a7794"; 16 16 17 aliases { 17 aliases { 18 serial0 = &scif2; 18 serial0 = &scif2; 19 i2c9 = &gpioi2c1; 19 i2c9 = &gpioi2c1; 20 i2c10 = &gpioi2c4; 20 i2c10 = &gpioi2c4; 21 i2c11 = &i2chdmi; 21 i2c11 = &i2chdmi; 22 i2c12 = &i2cexio4; 22 i2c12 = &i2cexio4; 23 mmc0 = &mmcif0; 23 mmc0 = &mmcif0; 24 mmc1 = &sdhi0; 24 mmc1 = &sdhi0; 25 mmc2 = &sdhi1; 25 mmc2 = &sdhi1; 26 }; 26 }; 27 27 28 chosen { 28 chosen { 29 bootargs = "ignore_loglevel rw 29 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on"; 30 stdout-path = "serial0:115200n 30 stdout-path = "serial0:115200n8"; 31 }; 31 }; 32 32 33 memory@40000000 { 33 memory@40000000 { 34 device_type = "memory"; 34 device_type = "memory"; 35 reg = <0 0x40000000 0 0x400000 35 reg = <0 0x40000000 0 0x40000000>; 36 }; 36 }; 37 37 38 d3_3v: regulator-d3-3v { 38 d3_3v: regulator-d3-3v { 39 compatible = "regulator-fixed" 39 compatible = "regulator-fixed"; 40 regulator-name = "D3.3V"; 40 regulator-name = "D3.3V"; 41 regulator-min-microvolt = <330 41 regulator-min-microvolt = <3300000>; 42 regulator-max-microvolt = <330 42 regulator-max-microvolt = <3300000>; 43 regulator-boot-on; 43 regulator-boot-on; 44 regulator-always-on; 44 regulator-always-on; 45 }; 45 }; 46 46 47 vcc_sdhi0: regulator-vcc-sdhi0 { 47 vcc_sdhi0: regulator-vcc-sdhi0 { 48 compatible = "regulator-fixed" 48 compatible = "regulator-fixed"; 49 49 50 regulator-name = "SDHI0 Vcc"; 50 regulator-name = "SDHI0 Vcc"; 51 regulator-min-microvolt = <330 51 regulator-min-microvolt = <3300000>; 52 regulator-max-microvolt = <330 52 regulator-max-microvolt = <3300000>; 53 53 54 gpio = <&gpio2 26 GPIO_ACTIVE_ 54 gpio = <&gpio2 26 GPIO_ACTIVE_HIGH>; 55 enable-active-high; 55 enable-active-high; 56 }; 56 }; 57 57 58 vccq_sdhi0: regulator-vccq-sdhi0 { 58 vccq_sdhi0: regulator-vccq-sdhi0 { 59 compatible = "regulator-gpio"; 59 compatible = "regulator-gpio"; 60 60 61 regulator-name = "SDHI0 VccQ"; 61 regulator-name = "SDHI0 VccQ"; 62 regulator-min-microvolt = <180 62 regulator-min-microvolt = <1800000>; 63 regulator-max-microvolt = <330 63 regulator-max-microvolt = <3300000>; 64 64 65 gpios = <&gpio2 29 GPIO_ACTIVE 65 gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>; 66 gpios-states = <1>; 66 gpios-states = <1>; 67 states = <3300000 1>, <1800000 67 states = <3300000 1>, <1800000 0>; 68 }; 68 }; 69 69 70 vcc_sdhi1: regulator-vcc-sdhi1 { 70 vcc_sdhi1: regulator-vcc-sdhi1 { 71 compatible = "regulator-fixed" 71 compatible = "regulator-fixed"; 72 72 73 regulator-name = "SDHI1 Vcc"; 73 regulator-name = "SDHI1 Vcc"; 74 regulator-min-microvolt = <330 74 regulator-min-microvolt = <3300000>; 75 regulator-max-microvolt = <330 75 regulator-max-microvolt = <3300000>; 76 76 77 gpio = <&gpio4 26 GPIO_ACTIVE_ 77 gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>; 78 enable-active-high; 78 enable-active-high; 79 }; 79 }; 80 80 81 vccq_sdhi1: regulator-vccq-sdhi1 { 81 vccq_sdhi1: regulator-vccq-sdhi1 { 82 compatible = "regulator-gpio"; 82 compatible = "regulator-gpio"; 83 83 84 regulator-name = "SDHI1 VccQ"; 84 regulator-name = "SDHI1 VccQ"; 85 regulator-min-microvolt = <180 85 regulator-min-microvolt = <1800000>; 86 regulator-max-microvolt = <330 86 regulator-max-microvolt = <3300000>; 87 87 88 gpios = <&gpio4 29 GPIO_ACTIVE 88 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>; 89 gpios-states = <1>; 89 gpios-states = <1>; 90 states = <3300000 1>, <1800000 90 states = <3300000 1>, <1800000 0>; 91 }; 91 }; 92 92 >> 93 lbsc { >> 94 #address-cells = <1>; >> 95 #size-cells = <1>; >> 96 }; >> 97 93 keyboard { 98 keyboard { 94 compatible = "gpio-keys"; 99 compatible = "gpio-keys"; 95 100 96 pinctrl-0 = <&keyboard_pins>; 101 pinctrl-0 = <&keyboard_pins>; 97 pinctrl-names = "default"; 102 pinctrl-names = "default"; 98 103 99 one { 104 one { 100 linux,code = <KEY_1>; 105 linux,code = <KEY_1>; 101 label = "SW2-1"; 106 label = "SW2-1"; 102 wakeup-source; 107 wakeup-source; 103 debounce-interval = <2 108 debounce-interval = <20>; 104 gpios = <&gpio3 9 GPIO 109 gpios = <&gpio3 9 GPIO_ACTIVE_LOW>; 105 }; 110 }; 106 two { 111 two { 107 linux,code = <KEY_2>; 112 linux,code = <KEY_2>; 108 label = "SW2-2"; 113 label = "SW2-2"; 109 wakeup-source; 114 wakeup-source; 110 debounce-interval = <2 115 debounce-interval = <20>; 111 gpios = <&gpio3 10 GPI 116 gpios = <&gpio3 10 GPIO_ACTIVE_LOW>; 112 }; 117 }; 113 three { 118 three { 114 linux,code = <KEY_3>; 119 linux,code = <KEY_3>; 115 label = "SW2-3"; 120 label = "SW2-3"; 116 wakeup-source; 121 wakeup-source; 117 debounce-interval = <2 122 debounce-interval = <20>; 118 gpios = <&gpio3 11 GPI 123 gpios = <&gpio3 11 GPIO_ACTIVE_LOW>; 119 }; 124 }; 120 four { 125 four { 121 linux,code = <KEY_4>; 126 linux,code = <KEY_4>; 122 label = "SW2-4"; 127 label = "SW2-4"; 123 wakeup-source; 128 wakeup-source; 124 debounce-interval = <2 129 debounce-interval = <20>; 125 gpios = <&gpio3 12 GPI 130 gpios = <&gpio3 12 GPIO_ACTIVE_LOW>; 126 }; 131 }; 127 }; 132 }; 128 133 129 vga-encoder { 134 vga-encoder { 130 compatible = "adi,adv7123"; 135 compatible = "adi,adv7123"; 131 136 132 ports { 137 ports { 133 #address-cells = <1>; 138 #address-cells = <1>; 134 #size-cells = <0>; 139 #size-cells = <0>; 135 140 136 port@0 { 141 port@0 { 137 reg = <0>; 142 reg = <0>; 138 adv7123_in: en 143 adv7123_in: endpoint { 139 remote 144 remote-endpoint = <&du_out_rgb1>; 140 }; 145 }; 141 }; 146 }; 142 port@1 { 147 port@1 { 143 reg = <1>; 148 reg = <1>; 144 adv7123_out: e 149 adv7123_out: endpoint { 145 remote 150 remote-endpoint = <&vga_in>; 146 }; 151 }; 147 }; 152 }; 148 }; 153 }; 149 }; 154 }; 150 155 151 vga { 156 vga { 152 compatible = "vga-connector"; 157 compatible = "vga-connector"; 153 158 154 port { 159 port { 155 vga_in: endpoint { 160 vga_in: endpoint { 156 remote-endpoin 161 remote-endpoint = <&adv7123_out>; 157 }; 162 }; 158 }; 163 }; 159 }; 164 }; 160 165 161 x2_clk: x2-clock { 166 x2_clk: x2-clock { 162 compatible = "fixed-clock"; 167 compatible = "fixed-clock"; 163 #clock-cells = <0>; 168 #clock-cells = <0>; 164 clock-frequency = <74250000>; 169 clock-frequency = <74250000>; 165 }; 170 }; 166 171 167 x13_clk: x13-clock { 172 x13_clk: x13-clock { 168 compatible = "fixed-clock"; 173 compatible = "fixed-clock"; 169 #clock-cells = <0>; 174 #clock-cells = <0>; 170 clock-frequency = <148500000>; 175 clock-frequency = <148500000>; 171 }; 176 }; 172 177 173 gpioi2c1: i2c-9 { 178 gpioi2c1: i2c-9 { 174 #address-cells = <1>; 179 #address-cells = <1>; 175 #size-cells = <0>; 180 #size-cells = <0>; 176 compatible = "i2c-gpio"; 181 compatible = "i2c-gpio"; 177 status = "disabled"; 182 status = "disabled"; 178 scl-gpios = <&gpio4 0 (GPIO_AC 183 scl-gpios = <&gpio4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 179 sda-gpios = <&gpio4 1 (GPIO_AC 184 sda-gpios = <&gpio4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 180 }; 185 }; 181 186 182 gpioi2c4: i2c-10 { 187 gpioi2c4: i2c-10 { 183 #address-cells = <1>; 188 #address-cells = <1>; 184 #size-cells = <0>; 189 #size-cells = <0>; 185 compatible = "i2c-gpio"; 190 compatible = "i2c-gpio"; 186 status = "disabled"; 191 status = "disabled"; 187 scl-gpios = <&gpio4 8 (GPIO_AC 192 scl-gpios = <&gpio4 8 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 188 sda-gpios = <&gpio4 9 (GPIO_AC 193 sda-gpios = <&gpio4 9 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 189 i2c-gpio,delay-us = <5>; 194 i2c-gpio,delay-us = <5>; 190 }; 195 }; 191 196 192 /* 197 /* 193 * A fallback to GPIO is provided for 198 * A fallback to GPIO is provided for I2C1. 194 */ 199 */ 195 i2chdmi: i2c-mux1 { !! 200 i2chdmi: i2c-11 { 196 compatible = "i2c-demux-pinctr 201 compatible = "i2c-demux-pinctrl"; 197 i2c-parent = <&i2c1>, <&gpioi2 202 i2c-parent = <&i2c1>, <&gpioi2c1>; 198 i2c-bus-name = "i2c-hdmi"; 203 i2c-bus-name = "i2c-hdmi"; 199 #address-cells = <1>; 204 #address-cells = <1>; 200 #size-cells = <0>; 205 #size-cells = <0>; 201 206 202 composite-in@20 { 207 composite-in@20 { 203 compatible = "adi,adv7 208 compatible = "adi,adv7180"; 204 reg = <0x20>; 209 reg = <0x20>; 205 210 206 port { 211 port { 207 adv7180: endpo 212 adv7180: endpoint { 208 bus-wi 213 bus-width = <8>; 209 remote 214 remote-endpoint = <&vin0ep>; 210 }; 215 }; 211 }; 216 }; 212 }; 217 }; 213 218 214 eeprom@50 { 219 eeprom@50 { 215 compatible = "renesas, 220 compatible = "renesas,r1ex24002", "atmel,24c02"; 216 reg = <0x50>; 221 reg = <0x50>; 217 pagesize = <16>; 222 pagesize = <16>; 218 }; 223 }; 219 }; 224 }; 220 225 221 /* 226 /* 222 * I2C4 is routed to EXIO connector B, 227 * I2C4 is routed to EXIO connector B, pins 73 (SCL) + 74 (SDA). 223 * A fallback to GPIO is provided. 228 * A fallback to GPIO is provided. 224 */ 229 */ 225 i2cexio4: i2c-mux2 { !! 230 i2cexio4: i2c-14 { 226 compatible = "i2c-demux-pinctr 231 compatible = "i2c-demux-pinctrl"; 227 i2c-parent = <&i2c4>, <&gpioi2 232 i2c-parent = <&i2c4>, <&gpioi2c4>; 228 i2c-bus-name = "i2c-exio4"; 233 i2c-bus-name = "i2c-exio4"; 229 #address-cells = <1>; 234 #address-cells = <1>; 230 #size-cells = <0>; 235 #size-cells = <0>; 231 }; 236 }; 232 }; 237 }; 233 238 234 &pci0 { 239 &pci0 { 235 status = "okay"; 240 status = "okay"; 236 pinctrl-0 = <&usb0_pins>; 241 pinctrl-0 = <&usb0_pins>; 237 pinctrl-names = "default"; 242 pinctrl-names = "default"; 238 }; 243 }; 239 244 240 &pci1 { 245 &pci1 { 241 status = "okay"; 246 status = "okay"; 242 pinctrl-0 = <&usb1_pins>; 247 pinctrl-0 = <&usb1_pins>; 243 pinctrl-names = "default"; 248 pinctrl-names = "default"; 244 }; 249 }; 245 250 246 &usbphy { 251 &usbphy { 247 status = "okay"; 252 status = "okay"; 248 }; 253 }; 249 254 250 &du { 255 &du { 251 pinctrl-0 = <&du_pins>; 256 pinctrl-0 = <&du_pins>; 252 pinctrl-names = "default"; 257 pinctrl-names = "default"; 253 status = "okay"; 258 status = "okay"; 254 259 255 clocks = <&cpg CPG_MOD 724>, <&cpg CPG 260 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, 256 <&x13_clk>, <&x2_clk>; 261 <&x13_clk>, <&x2_clk>; 257 clock-names = "du.0", "du.1", "dclkin. 262 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1"; 258 263 259 ports { 264 ports { 260 port@1 { 265 port@1 { 261 endpoint { 266 endpoint { 262 remote-endpoin 267 remote-endpoint = <&adv7123_in>; 263 }; 268 }; 264 }; 269 }; 265 }; 270 }; 266 }; 271 }; 267 272 268 &extal_clk { 273 &extal_clk { 269 clock-frequency = <20000000>; 274 clock-frequency = <20000000>; 270 }; 275 }; 271 276 272 &pfc { 277 &pfc { 273 pinctrl-0 = <&scif_clk_pins>; 278 pinctrl-0 = <&scif_clk_pins>; 274 pinctrl-names = "default"; 279 pinctrl-names = "default"; 275 280 276 du_pins: du { 281 du_pins: du { 277 groups = "du1_rgb666", "du1_sy 282 groups = "du1_rgb666", "du1_sync", "du1_disp", "du1_clk0_out"; 278 function = "du1"; 283 function = "du1"; 279 }; 284 }; 280 285 281 scif2_pins: scif2 { 286 scif2_pins: scif2 { 282 groups = "scif2_data"; 287 groups = "scif2_data"; 283 function = "scif2"; 288 function = "scif2"; 284 }; 289 }; 285 290 286 scif_clk_pins: scif_clk { 291 scif_clk_pins: scif_clk { 287 groups = "scif_clk"; 292 groups = "scif_clk"; 288 function = "scif_clk"; 293 function = "scif_clk"; 289 }; 294 }; 290 295 291 ether_pins: ether { 296 ether_pins: ether { 292 groups = "eth_link", "eth_mdio 297 groups = "eth_link", "eth_mdio", "eth_rmii"; 293 function = "eth"; 298 function = "eth"; 294 }; 299 }; 295 300 296 phy1_pins: phy1 { 301 phy1_pins: phy1 { 297 groups = "intc_irq8"; 302 groups = "intc_irq8"; 298 function = "intc"; 303 function = "intc"; 299 }; 304 }; 300 305 301 i2c1_pins: i2c1 { 306 i2c1_pins: i2c1 { 302 groups = "i2c1"; 307 groups = "i2c1"; 303 function = "i2c1"; 308 function = "i2c1"; 304 }; 309 }; 305 310 306 i2c4_pins: i2c4 { 311 i2c4_pins: i2c4 { 307 groups = "i2c4"; 312 groups = "i2c4"; 308 function = "i2c4"; 313 function = "i2c4"; 309 }; 314 }; 310 315 311 vin0_pins: vin0 { 316 vin0_pins: vin0 { 312 groups = "vin0_data8", "vin0_c 317 groups = "vin0_data8", "vin0_clk"; 313 function = "vin0"; 318 function = "vin0"; 314 }; 319 }; 315 320 316 mmcif0_pins: mmcif0 { 321 mmcif0_pins: mmcif0 { 317 groups = "mmc_data8", "mmc_ctr 322 groups = "mmc_data8", "mmc_ctrl"; 318 function = "mmc"; 323 function = "mmc"; 319 }; 324 }; 320 325 321 sdhi0_pins: sd0 { 326 sdhi0_pins: sd0 { 322 groups = "sdhi0_data4", "sdhi0 327 groups = "sdhi0_data4", "sdhi0_ctrl"; 323 function = "sdhi0"; 328 function = "sdhi0"; 324 power-source = <3300>; 329 power-source = <3300>; 325 }; 330 }; 326 331 327 sdhi0_pins_uhs: sd0_uhs { 332 sdhi0_pins_uhs: sd0_uhs { 328 groups = "sdhi0_data4", "sdhi0 333 groups = "sdhi0_data4", "sdhi0_ctrl"; 329 function = "sdhi0"; 334 function = "sdhi0"; 330 power-source = <1800>; 335 power-source = <1800>; 331 }; 336 }; 332 337 333 sdhi1_pins: sd1 { 338 sdhi1_pins: sd1 { 334 groups = "sdhi1_data4", "sdhi1 339 groups = "sdhi1_data4", "sdhi1_ctrl"; 335 function = "sdhi1"; 340 function = "sdhi1"; 336 power-source = <3300>; 341 power-source = <3300>; 337 }; 342 }; 338 343 339 sdhi1_pins_uhs: sd1_uhs { 344 sdhi1_pins_uhs: sd1_uhs { 340 groups = "sdhi1_data4", "sdhi1 345 groups = "sdhi1_data4", "sdhi1_ctrl"; 341 function = "sdhi1"; 346 function = "sdhi1"; 342 power-source = <1800>; 347 power-source = <1800>; 343 }; 348 }; 344 349 345 usb0_pins: usb0 { 350 usb0_pins: usb0 { 346 groups = "usb0"; 351 groups = "usb0"; 347 function = "usb0"; 352 function = "usb0"; 348 }; 353 }; 349 354 350 usb1_pins: usb1 { 355 usb1_pins: usb1 { 351 groups = "usb1"; 356 groups = "usb1"; 352 function = "usb1"; 357 function = "usb1"; 353 }; 358 }; 354 359 355 keyboard_pins: keyboard { 360 keyboard_pins: keyboard { 356 pins = "GP_3_9", "GP_3_10", "G 361 pins = "GP_3_9", "GP_3_10", "GP_3_11", "GP_3_12"; 357 bias-pull-up; 362 bias-pull-up; 358 }; 363 }; 359 }; 364 }; 360 365 361 &cmt0 { 366 &cmt0 { 362 status = "okay"; 367 status = "okay"; 363 }; 368 }; 364 369 365 &pfc { 370 &pfc { 366 qspi_pins: qspi { 371 qspi_pins: qspi { 367 groups = "qspi_ctrl", "qspi_da 372 groups = "qspi_ctrl", "qspi_data4"; 368 function = "qspi"; 373 function = "qspi"; 369 }; 374 }; 370 }; 375 }; 371 376 372 ðer { 377 ðer { 373 pinctrl-0 = <ðer_pins>, <&phy1_pins 378 pinctrl-0 = <ðer_pins>, <&phy1_pins>; 374 pinctrl-names = "default"; 379 pinctrl-names = "default"; 375 380 376 phy-handle = <&phy1>; 381 phy-handle = <&phy1>; 377 renesas,ether-link-active-low; 382 renesas,ether-link-active-low; 378 status = "okay"; 383 status = "okay"; 379 384 380 phy1: ethernet-phy@1 { 385 phy1: ethernet-phy@1 { 381 compatible = "ethernet-phy-id0 386 compatible = "ethernet-phy-id0022.1537", 382 "ethernet-phy-iee 387 "ethernet-phy-ieee802.3-c22"; 383 reg = <1>; 388 reg = <1>; 384 interrupt-parent = <&irqc0>; 389 interrupt-parent = <&irqc0>; 385 interrupts = <8 IRQ_TYPE_LEVEL 390 interrupts = <8 IRQ_TYPE_LEVEL_LOW>; 386 micrel,led-mode = <1>; 391 micrel,led-mode = <1>; 387 reset-gpios = <&gpio1 24 GPIO_ 392 reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; 388 }; 393 }; 389 }; 394 }; 390 395 391 &mmcif0 { 396 &mmcif0 { 392 pinctrl-0 = <&mmcif0_pins>; 397 pinctrl-0 = <&mmcif0_pins>; 393 pinctrl-names = "default"; 398 pinctrl-names = "default"; 394 399 395 vmmc-supply = <&d3_3v>; 400 vmmc-supply = <&d3_3v>; 396 vqmmc-supply = <&d3_3v>; 401 vqmmc-supply = <&d3_3v>; 397 bus-width = <8>; 402 bus-width = <8>; 398 non-removable; 403 non-removable; 399 status = "okay"; 404 status = "okay"; 400 }; 405 }; 401 406 402 &rwdt { 407 &rwdt { 403 timeout-sec = <60>; 408 timeout-sec = <60>; 404 status = "okay"; 409 status = "okay"; 405 }; 410 }; 406 411 407 &sdhi0 { 412 &sdhi0 { 408 pinctrl-0 = <&sdhi0_pins>; 413 pinctrl-0 = <&sdhi0_pins>; 409 pinctrl-1 = <&sdhi0_pins_uhs>; 414 pinctrl-1 = <&sdhi0_pins_uhs>; 410 pinctrl-names = "default", "state_uhs" 415 pinctrl-names = "default", "state_uhs"; 411 416 412 vmmc-supply = <&vcc_sdhi0>; 417 vmmc-supply = <&vcc_sdhi0>; 413 vqmmc-supply = <&vccq_sdhi0>; 418 vqmmc-supply = <&vccq_sdhi0>; 414 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>; 419 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>; 415 wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH> 420 wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; 416 sd-uhs-sdr50; 421 sd-uhs-sdr50; 417 sd-uhs-sdr104; 422 sd-uhs-sdr104; 418 status = "okay"; 423 status = "okay"; 419 }; 424 }; 420 425 421 &sdhi1 { 426 &sdhi1 { 422 pinctrl-0 = <&sdhi1_pins>; 427 pinctrl-0 = <&sdhi1_pins>; 423 pinctrl-1 = <&sdhi1_pins_uhs>; 428 pinctrl-1 = <&sdhi1_pins_uhs>; 424 pinctrl-names = "default", "state_uhs" 429 pinctrl-names = "default", "state_uhs"; 425 430 426 vmmc-supply = <&vcc_sdhi1>; 431 vmmc-supply = <&vcc_sdhi1>; 427 vqmmc-supply = <&vccq_sdhi1>; 432 vqmmc-supply = <&vccq_sdhi1>; 428 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW> 433 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; 429 wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH 434 wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>; 430 sd-uhs-sdr50; 435 sd-uhs-sdr50; 431 status = "okay"; 436 status = "okay"; 432 }; 437 }; 433 438 434 &i2c1 { 439 &i2c1 { 435 pinctrl-0 = <&i2c1_pins>; 440 pinctrl-0 = <&i2c1_pins>; 436 pinctrl-names = "i2c-hdmi"; 441 pinctrl-names = "i2c-hdmi"; 437 442 438 clock-frequency = <400000>; 443 clock-frequency = <400000>; 439 }; 444 }; 440 445 441 &i2c4 { 446 &i2c4 { 442 pinctrl-0 = <&i2c4_pins>; 447 pinctrl-0 = <&i2c4_pins>; 443 pinctrl-names = "i2c-exio4"; 448 pinctrl-names = "i2c-exio4"; 444 }; 449 }; 445 450 446 &i2c7 { 451 &i2c7 { 447 status = "okay"; 452 status = "okay"; 448 clock-frequency = <100000>; 453 clock-frequency = <100000>; 449 454 450 pmic@58 { 455 pmic@58 { 451 compatible = "dlg,da9063"; 456 compatible = "dlg,da9063"; 452 reg = <0x58>; 457 reg = <0x58>; 453 interrupt-parent = <&gpio3>; 458 interrupt-parent = <&gpio3>; 454 interrupts = <31 IRQ_TYPE_LEVE 459 interrupts = <31 IRQ_TYPE_LEVEL_LOW>; 455 interrupt-controller; 460 interrupt-controller; 456 #interrupt-cells = <2>; 461 #interrupt-cells = <2>; 457 462 458 rtc { 463 rtc { 459 compatible = "dlg,da90 464 compatible = "dlg,da9063-rtc"; 460 }; 465 }; 461 466 462 watchdog { 467 watchdog { 463 compatible = "dlg,da90 468 compatible = "dlg,da9063-watchdog"; 464 }; 469 }; 465 }; 470 }; 466 }; 471 }; 467 472 468 &vin0 { 473 &vin0 { 469 status = "okay"; 474 status = "okay"; 470 pinctrl-0 = <&vin0_pins>; 475 pinctrl-0 = <&vin0_pins>; 471 pinctrl-names = "default"; 476 pinctrl-names = "default"; 472 477 473 port { 478 port { 474 vin0ep: endpoint { 479 vin0ep: endpoint { 475 remote-endpoint = <&ad 480 remote-endpoint = <&adv7180>; 476 bus-width = <8>; 481 bus-width = <8>; 477 }; 482 }; 478 }; 483 }; 479 }; 484 }; 480 485 481 &scif2 { 486 &scif2 { 482 pinctrl-0 = <&scif2_pins>; 487 pinctrl-0 = <&scif2_pins>; 483 pinctrl-names = "default"; 488 pinctrl-names = "default"; 484 489 485 status = "okay"; 490 status = "okay"; 486 }; 491 }; 487 492 488 &scif_clk { 493 &scif_clk { 489 clock-frequency = <14745600>; 494 clock-frequency = <14745600>; 490 }; 495 }; 491 496 492 &qspi { 497 &qspi { 493 pinctrl-0 = <&qspi_pins>; 498 pinctrl-0 = <&qspi_pins>; 494 pinctrl-names = "default"; 499 pinctrl-names = "default"; 495 500 496 status = "okay"; 501 status = "okay"; 497 502 498 flash@0 { 503 flash@0 { 499 compatible = "spansion,s25fl51 504 compatible = "spansion,s25fl512s", "jedec,spi-nor"; 500 reg = <0>; 505 reg = <0>; 501 spi-max-frequency = <30000000> 506 spi-max-frequency = <30000000>; 502 spi-tx-bus-width = <4>; 507 spi-tx-bus-width = <4>; 503 spi-rx-bus-width = <4>; 508 spi-rx-bus-width = <4>; 504 spi-cpol; 509 spi-cpol; 505 spi-cpha; 510 spi-cpha; 506 m25p,fast-read; 511 m25p,fast-read; 507 512 508 partitions { 513 partitions { 509 compatible = "fixed-pa 514 compatible = "fixed-partitions"; 510 #address-cells = <1>; 515 #address-cells = <1>; 511 #size-cells = <1>; 516 #size-cells = <1>; 512 517 513 partition@0 { 518 partition@0 { 514 label = "loade 519 label = "loader"; 515 reg = <0x00000 520 reg = <0x00000000 0x00040000>; 516 read-only; 521 read-only; 517 }; 522 }; 518 partition@40000 { 523 partition@40000 { 519 label = "syste 524 label = "system"; 520 reg = <0x00040 525 reg = <0x00040000 0x00040000>; 521 read-only; 526 read-only; 522 }; 527 }; 523 partition@80000 { 528 partition@80000 { 524 label = "user" 529 label = "user"; 525 reg = <0x00080 530 reg = <0x00080000 0x03f80000>; 526 }; 531 }; 527 }; 532 }; 528 }; 533 }; 529 }; 534 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.