Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
0002 /*
0003  * Copyright (C) STMicroelectronics 2019 - All Rights Reserved
0004  * Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics.
0005  */
0006 
0007 #include <dt-bindings/gpio/gpio.h>
0008 #include <dt-bindings/mfd/st,stpmic1.h>
0009 
0010 / {
0011         memory@c0000000 {
0012                 device_type = "memory";
0013                 reg = <0xc0000000 0x20000000>;
0014         };
0015 
0016         reserved-memory {
0017                 #address-cells = <1>;
0018                 #size-cells = <1>;
0019                 ranges;
0020 
0021                 mcuram2: mcuram2@10000000 {
0022                         compatible = "shared-dma-pool";
0023                         reg = <0x10000000 0x40000>;
0024                         no-map;
0025                 };
0026 
0027                 vdev0vring0: vdev0vring0@10040000 {
0028                         compatible = "shared-dma-pool";
0029                         reg = <0x10040000 0x1000>;
0030                         no-map;
0031                 };
0032 
0033                 vdev0vring1: vdev0vring1@10041000 {
0034                         compatible = "shared-dma-pool";
0035                         reg = <0x10041000 0x1000>;
0036                         no-map;
0037                 };
0038 
0039                 vdev0buffer: vdev0buffer@10042000 {
0040                         compatible = "shared-dma-pool";
0041                         reg = <0x10042000 0x4000>;
0042                         no-map;
0043                 };
0044 
0045                 mcuram: mcuram@30000000 {
0046                         compatible = "shared-dma-pool";
0047                         reg = <0x30000000 0x40000>;
0048                         no-map;
0049                 };
0050 
0051                 retram: retram@38000000 {
0052                         compatible = "shared-dma-pool";
0053                         reg = <0x38000000 0x10000>;
0054                         no-map;
0055                 };
0056 
0057                 gpu_reserved: gpu@d4000000 {
0058                         reg = <0xd4000000 0x4000000>;
0059                         no-map;
0060                 };
0061         };
0062 
0063         led {
0064                 compatible = "gpio-leds";
0065                 led-blue {
0066                         label = "heartbeat";
0067                         gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>;
0068                         linux,default-trigger = "heartbeat";
0069                         default-state = "off";
0070                 };
0071         };
0072 
0073         sound {
0074                 compatible = "audio-graph-card";
0075                 label = "STM32MP1-DK";
0076                 routing =
0077                         "Playback" , "MCLK",
0078                         "Capture" , "MCLK",
0079                         "MICL" , "Mic Bias";
0080                 dais = <&sai2a_port &sai2b_port &i2s2_port>;
0081                 status = "okay";
0082         };
0083 
0084         vin: vin {
0085                 compatible = "regulator-fixed";
0086                 regulator-name = "vin";
0087                 regulator-min-microvolt = <5000000>;
0088                 regulator-max-microvolt = <5000000>;
0089                 regulator-always-on;
0090         };
0091 };
0092 
0093 &adc {
0094         pinctrl-names = "default";
0095         pinctrl-0 = <&adc12_ain_pins_a>, <&adc12_usb_cc_pins_a>;
0096         vdd-supply = <&vdd>;
0097         vdda-supply = <&vdd>;
0098         vref-supply = <&vrefbuf>;
0099         status = "disabled";
0100         adc1: adc@0 {
0101                 /*
0102                  * Type-C USB_PWR_CC1 & USB_PWR_CC2 on in18 & in19.
0103                  * Use at least 5 * RC time, e.g. 5 * (Rp + Rd) * C:
0104                  * 5 * (56 + 47kOhms) * 5pF => 2.5us.
0105                  * Use arbitrary margin here (e.g. 5us).
0106                  */
0107                 st,min-sample-time-nsecs = <5000>;
0108                 /* AIN connector, USB Type-C CC1 & CC2 */
0109                 st,adc-channels = <0 1 6 13 18 19>;
0110                 status = "okay";
0111         };
0112         adc2: adc@100 {
0113                 /* AIN connector, USB Type-C CC1 & CC2 */
0114                 st,adc-channels = <0 1 2 6 18 19>;
0115                 st,min-sample-time-nsecs = <5000>;
0116                 status = "okay";
0117         };
0118 };
0119 
0120 &cec {
0121         pinctrl-names = "default", "sleep";
0122         pinctrl-0 = <&cec_pins_b>;
0123         pinctrl-1 = <&cec_sleep_pins_b>;
0124         status = "okay";
0125 };
0126 
0127 &crc1 {
0128         status = "okay";
0129 };
0130 
0131 &dts {
0132         status = "okay";
0133 };
0134 
0135 &ethernet0 {
0136         status = "okay";
0137         pinctrl-0 = <&ethernet0_rgmii_pins_a>;
0138         pinctrl-1 = <&ethernet0_rgmii_sleep_pins_a>;
0139         pinctrl-names = "default", "sleep";
0140         phy-mode = "rgmii-id";
0141         max-speed = <1000>;
0142         phy-handle = <&phy0>;
0143 
0144         mdio0 {
0145                 #address-cells = <1>;
0146                 #size-cells = <0>;
0147                 compatible = "snps,dwmac-mdio";
0148                 phy0: ethernet-phy@0 {
0149                         reg = <0>;
0150                 };
0151         };
0152 };
0153 
0154 &gpu {
0155         contiguous-area = <&gpu_reserved>;
0156 };
0157 
0158 &hash1 {
0159         status = "okay";
0160 };
0161 
0162 &i2c1 {
0163         pinctrl-names = "default", "sleep";
0164         pinctrl-0 = <&i2c1_pins_a>;
0165         pinctrl-1 = <&i2c1_sleep_pins_a>;
0166         i2c-scl-rising-time-ns = <100>;
0167         i2c-scl-falling-time-ns = <7>;
0168         status = "okay";
0169         /delete-property/dmas;
0170         /delete-property/dma-names;
0171 
0172         hdmi-transmitter@39 {
0173                 compatible = "sil,sii9022";
0174                 reg = <0x39>;
0175                 iovcc-supply = <&v3v3_hdmi>;
0176                 cvcc12-supply = <&v1v2_hdmi>;
0177                 reset-gpios = <&gpioa 10 GPIO_ACTIVE_LOW>;
0178                 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
0179                 interrupt-parent = <&gpiog>;
0180                 #sound-dai-cells = <0>;
0181                 status = "okay";
0182 
0183                 ports {
0184                         #address-cells = <1>;
0185                         #size-cells = <0>;
0186 
0187                         port@0 {
0188                                 reg = <0>;
0189                                 sii9022_in: endpoint {
0190                                         remote-endpoint = <&ltdc_ep0_out>;
0191                                 };
0192                         };
0193 
0194                         port@3 {
0195                                 reg = <3>;
0196                                 sii9022_tx_endpoint: endpoint {
0197                                         remote-endpoint = <&i2s2_endpoint>;
0198                                 };
0199                         };
0200                 };
0201         };
0202 
0203         cs42l51: cs42l51@4a {
0204                 compatible = "cirrus,cs42l51";
0205                 reg = <0x4a>;
0206                 #sound-dai-cells = <0>;
0207                 VL-supply = <&v3v3>;
0208                 VD-supply = <&v1v8_audio>;
0209                 VA-supply = <&v1v8_audio>;
0210                 VAHP-supply = <&v1v8_audio>;
0211                 reset-gpios = <&gpiog 9 GPIO_ACTIVE_LOW>;
0212                 clocks = <&sai2a>;
0213                 clock-names = "MCLK";
0214                 status = "okay";
0215 
0216                 cs42l51_port: port {
0217                         #address-cells = <1>;
0218                         #size-cells = <0>;
0219 
0220                         cs42l51_tx_endpoint: endpoint@0 {
0221                                 reg = <0>;
0222                                 remote-endpoint = <&sai2a_endpoint>;
0223                                 frame-master = <&cs42l51_tx_endpoint>;
0224                                 bitclock-master = <&cs42l51_tx_endpoint>;
0225                         };
0226 
0227                         cs42l51_rx_endpoint: endpoint@1 {
0228                                 reg = <1>;
0229                                 remote-endpoint = <&sai2b_endpoint>;
0230                                 frame-master = <&cs42l51_rx_endpoint>;
0231                                 bitclock-master = <&cs42l51_rx_endpoint>;
0232                         };
0233                 };
0234         };
0235 };
0236 
0237 &i2c4 {
0238         pinctrl-names = "default", "sleep";
0239         pinctrl-0 = <&i2c4_pins_a>;
0240         pinctrl-1 = <&i2c4_sleep_pins_a>;
0241         i2c-scl-rising-time-ns = <185>;
0242         i2c-scl-falling-time-ns = <20>;
0243         clock-frequency = <400000>;
0244         status = "okay";
0245         /* spare dmas for other usage */
0246         /delete-property/dmas;
0247         /delete-property/dma-names;
0248 
0249         stusb1600@28 {
0250                 compatible = "st,stusb1600";
0251                 reg = <0x28>;
0252                 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
0253                 interrupt-parent = <&gpioi>;
0254                 pinctrl-names = "default";
0255                 pinctrl-0 = <&stusb1600_pins_a>;
0256                 status = "okay";
0257                 vdd-supply = <&vin>;
0258 
0259                 connector {
0260                         compatible = "usb-c-connector";
0261                         label = "USB-C";
0262                         power-role = "dual";
0263                         typec-power-opmode = "default";
0264 
0265                         port {
0266                                 con_usbotg_hs_ep: endpoint {
0267                                         remote-endpoint = <&usbotg_hs_ep>;
0268                                 };
0269                         };
0270                 };
0271         };
0272 
0273         pmic: stpmic@33 {
0274                 compatible = "st,stpmic1";
0275                 reg = <0x33>;
0276                 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
0277                 interrupt-controller;
0278                 #interrupt-cells = <2>;
0279                 status = "okay";
0280 
0281                 regulators {
0282                         compatible = "st,stpmic1-regulators";
0283                         buck1-supply = <&vin>;
0284                         buck2-supply = <&vin>;
0285                         buck3-supply = <&vin>;
0286                         buck4-supply = <&vin>;
0287                         ldo1-supply = <&v3v3>;
0288                         ldo2-supply = <&vin>;
0289                         ldo3-supply = <&vdd_ddr>;
0290                         ldo4-supply = <&vin>;
0291                         ldo5-supply = <&vin>;
0292                         ldo6-supply = <&v3v3>;
0293                         vref_ddr-supply = <&vin>;
0294                         boost-supply = <&vin>;
0295                         pwr_sw1-supply = <&bst_out>;
0296                         pwr_sw2-supply = <&bst_out>;
0297 
0298                         vddcore: buck1 {
0299                                 regulator-name = "vddcore";
0300                                 regulator-min-microvolt = <1200000>;
0301                                 regulator-max-microvolt = <1350000>;
0302                                 regulator-always-on;
0303                                 regulator-initial-mode = <0>;
0304                                 regulator-over-current-protection;
0305                         };
0306 
0307                         vdd_ddr: buck2 {
0308                                 regulator-name = "vdd_ddr";
0309                                 regulator-min-microvolt = <1350000>;
0310                                 regulator-max-microvolt = <1350000>;
0311                                 regulator-always-on;
0312                                 regulator-initial-mode = <0>;
0313                                 regulator-over-current-protection;
0314                         };
0315 
0316                         vdd: buck3 {
0317                                 regulator-name = "vdd";
0318                                 regulator-min-microvolt = <3300000>;
0319                                 regulator-max-microvolt = <3300000>;
0320                                 regulator-always-on;
0321                                 st,mask-reset;
0322                                 regulator-initial-mode = <0>;
0323                                 regulator-over-current-protection;
0324                         };
0325 
0326                         v3v3: buck4 {
0327                                 regulator-name = "v3v3";
0328                                 regulator-min-microvolt = <3300000>;
0329                                 regulator-max-microvolt = <3300000>;
0330                                 regulator-always-on;
0331                                 regulator-over-current-protection;
0332                                 regulator-initial-mode = <0>;
0333                         };
0334 
0335                         v1v8_audio: ldo1 {
0336                                 regulator-name = "v1v8_audio";
0337                                 regulator-min-microvolt = <1800000>;
0338                                 regulator-max-microvolt = <1800000>;
0339                                 regulator-always-on;
0340                                 interrupts = <IT_CURLIM_LDO1 0>;
0341                         };
0342 
0343                         v3v3_hdmi: ldo2 {
0344                                 regulator-name = "v3v3_hdmi";
0345                                 regulator-min-microvolt = <3300000>;
0346                                 regulator-max-microvolt = <3300000>;
0347                                 regulator-always-on;
0348                                 interrupts = <IT_CURLIM_LDO2 0>;
0349                         };
0350 
0351                         vtt_ddr: ldo3 {
0352                                 regulator-name = "vtt_ddr";
0353                                 regulator-min-microvolt = <500000>;
0354                                 regulator-max-microvolt = <750000>;
0355                                 regulator-always-on;
0356                                 regulator-over-current-protection;
0357                         };
0358 
0359                         vdd_usb: ldo4 {
0360                                 regulator-name = "vdd_usb";
0361                                 interrupts = <IT_CURLIM_LDO4 0>;
0362                         };
0363 
0364                         vdda: ldo5 {
0365                                 regulator-name = "vdda";
0366                                 regulator-min-microvolt = <2900000>;
0367                                 regulator-max-microvolt = <2900000>;
0368                                 interrupts = <IT_CURLIM_LDO5 0>;
0369                                 regulator-boot-on;
0370                         };
0371 
0372                         v1v2_hdmi: ldo6 {
0373                                 regulator-name = "v1v2_hdmi";
0374                                 regulator-min-microvolt = <1200000>;
0375                                 regulator-max-microvolt = <1200000>;
0376                                 regulator-always-on;
0377                                 interrupts = <IT_CURLIM_LDO6 0>;
0378                         };
0379 
0380                         vref_ddr: vref_ddr {
0381                                 regulator-name = "vref_ddr";
0382                                 regulator-always-on;
0383                         };
0384 
0385                          bst_out: boost {
0386                                 regulator-name = "bst_out";
0387                                 interrupts = <IT_OCP_BOOST 0>;
0388                          };
0389 
0390                         vbus_otg: pwr_sw1 {
0391                                 regulator-name = "vbus_otg";
0392                                 interrupts = <IT_OCP_OTG 0>;
0393                          };
0394 
0395                          vbus_sw: pwr_sw2 {
0396                                 regulator-name = "vbus_sw";
0397                                 interrupts = <IT_OCP_SWOUT 0>;
0398                                 regulator-active-discharge = <1>;
0399                          };
0400                 };
0401 
0402                 onkey {
0403                         compatible = "st,stpmic1-onkey";
0404                         interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>;
0405                         interrupt-names = "onkey-falling", "onkey-rising";
0406                         power-off-time-sec = <10>;
0407                         status = "okay";
0408                 };
0409 
0410                 watchdog {
0411                         compatible = "st,stpmic1-wdt";
0412                         status = "disabled";
0413                 };
0414         };
0415 };
0416 
0417 &i2c5 {
0418         pinctrl-names = "default", "sleep";
0419         pinctrl-0 = <&i2c5_pins_a>;
0420         pinctrl-1 = <&i2c5_sleep_pins_a>;
0421         i2c-scl-rising-time-ns = <185>;
0422         i2c-scl-falling-time-ns = <20>;
0423         clock-frequency = <400000>;
0424         /* spare dmas for other usage */
0425         /delete-property/dmas;
0426         /delete-property/dma-names;
0427         status = "disabled";
0428 };
0429 
0430 &i2s2 {
0431         clocks = <&rcc SPI2>, <&rcc SPI2_K>, <&rcc PLL3_Q>, <&rcc PLL3_R>;
0432         clock-names = "pclk", "i2sclk", "x8k", "x11k";
0433         pinctrl-names = "default", "sleep";
0434         pinctrl-0 = <&i2s2_pins_a>;
0435         pinctrl-1 = <&i2s2_sleep_pins_a>;
0436         status = "okay";
0437 
0438         i2s2_port: port {
0439                 i2s2_endpoint: endpoint {
0440                         remote-endpoint = <&sii9022_tx_endpoint>;
0441                         format = "i2s";
0442                         mclk-fs = <256>;
0443                 };
0444         };
0445 };
0446 
0447 &ipcc {
0448         status = "okay";
0449 };
0450 
0451 &iwdg2 {
0452         timeout-sec = <32>;
0453         status = "okay";
0454 };
0455 
0456 &ltdc {
0457         pinctrl-names = "default", "sleep";
0458         pinctrl-0 = <&ltdc_pins_a>;
0459         pinctrl-1 = <&ltdc_sleep_pins_a>;
0460         status = "okay";
0461 
0462         port {
0463                 ltdc_ep0_out: endpoint@0 {
0464                         reg = <0>;
0465                         remote-endpoint = <&sii9022_in>;
0466                 };
0467         };
0468 };
0469 
0470 &m4_rproc {
0471         memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
0472                         <&vdev0vring1>, <&vdev0buffer>;
0473         mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>, <&ipcc 3>;
0474         mbox-names = "vq0", "vq1", "shutdown", "detach";
0475         interrupt-parent = <&exti>;
0476         interrupts = <68 1>;
0477         status = "okay";
0478 };
0479 
0480 &pwr_regulators {
0481         vdd-supply = <&vdd>;
0482         vdd_3v3_usbfs-supply = <&vdd_usb>;
0483 };
0484 
0485 &rng1 {
0486         status = "okay";
0487 };
0488 
0489 &rtc {
0490         status = "okay";
0491 };
0492 
0493 &sai2 {
0494         clocks = <&rcc SAI2>, <&rcc PLL3_Q>, <&rcc PLL3_R>;
0495         clock-names = "pclk", "x8k", "x11k";
0496         pinctrl-names = "default", "sleep";
0497         pinctrl-0 = <&sai2a_pins_a>, <&sai2b_pins_b>;
0498         pinctrl-1 = <&sai2a_sleep_pins_a>, <&sai2b_sleep_pins_b>;
0499         status = "okay";
0500 
0501         sai2a: audio-controller@4400b004 {
0502                 #clock-cells = <0>;
0503                 dma-names = "tx";
0504                 clocks = <&rcc SAI2_K>;
0505                 clock-names = "sai_ck";
0506                 status = "okay";
0507 
0508                 sai2a_port: port {
0509                         sai2a_endpoint: endpoint {
0510                                 remote-endpoint = <&cs42l51_tx_endpoint>;
0511                                 format = "i2s";
0512                                 mclk-fs = <256>;
0513                                 dai-tdm-slot-num = <2>;
0514                                 dai-tdm-slot-width = <32>;
0515                         };
0516                 };
0517         };
0518 
0519         sai2b: audio-controller@4400b024 {
0520                 dma-names = "rx";
0521                 st,sync = <&sai2a 2>;
0522                 clocks = <&rcc SAI2_K>, <&sai2a>;
0523                 clock-names = "sai_ck", "MCLK";
0524                 status = "okay";
0525 
0526                 sai2b_port: port {
0527                         sai2b_endpoint: endpoint {
0528                                 remote-endpoint = <&cs42l51_rx_endpoint>;
0529                                 format = "i2s";
0530                                 mclk-fs = <256>;
0531                                 dai-tdm-slot-num = <2>;
0532                                 dai-tdm-slot-width = <32>;
0533                         };
0534                 };
0535         };
0536 };
0537 
0538 &sdmmc1 {
0539         pinctrl-names = "default", "opendrain", "sleep";
0540         pinctrl-0 = <&sdmmc1_b4_pins_a>;
0541         pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
0542         pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
0543         cd-gpios = <&gpiob 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
0544         disable-wp;
0545         st,neg-edge;
0546         bus-width = <4>;
0547         vmmc-supply = <&v3v3>;
0548         status = "okay";
0549 };
0550 
0551 &sdmmc3 {
0552         pinctrl-names = "default", "opendrain", "sleep";
0553         pinctrl-0 = <&sdmmc3_b4_pins_a>;
0554         pinctrl-1 = <&sdmmc3_b4_od_pins_a>;
0555         pinctrl-2 = <&sdmmc3_b4_sleep_pins_a>;
0556         broken-cd;
0557         st,neg-edge;
0558         bus-width = <4>;
0559         vmmc-supply = <&v3v3>;
0560         status = "disabled";
0561 };
0562 
0563 &timers1 {
0564         /* spare dmas for other usage */
0565         /delete-property/dmas;
0566         /delete-property/dma-names;
0567         status = "disabled";
0568         pwm {
0569                 pinctrl-0 = <&pwm1_pins_a>;
0570                 pinctrl-1 = <&pwm1_sleep_pins_a>;
0571                 pinctrl-names = "default", "sleep";
0572                 status = "okay";
0573         };
0574         timer@0 {
0575                 status = "okay";
0576         };
0577 };
0578 
0579 &timers3 {
0580         /delete-property/dmas;
0581         /delete-property/dma-names;
0582         status = "disabled";
0583         pwm {
0584                 pinctrl-0 = <&pwm3_pins_a>;
0585                 pinctrl-1 = <&pwm3_sleep_pins_a>;
0586                 pinctrl-names = "default", "sleep";
0587                 status = "okay";
0588         };
0589         timer@2 {
0590                 status = "okay";
0591         };
0592 };
0593 
0594 &timers4 {
0595         /delete-property/dmas;
0596         /delete-property/dma-names;
0597         status = "disabled";
0598         pwm {
0599                 pinctrl-0 = <&pwm4_pins_a &pwm4_pins_b>;
0600                 pinctrl-1 = <&pwm4_sleep_pins_a &pwm4_sleep_pins_b>;
0601                 pinctrl-names = "default", "sleep";
0602                 status = "okay";
0603         };
0604         timer@3 {
0605                 status = "okay";
0606         };
0607 };
0608 
0609 &timers5 {
0610         /delete-property/dmas;
0611         /delete-property/dma-names;
0612         status = "disabled";
0613         pwm {
0614                 pinctrl-0 = <&pwm5_pins_a>;
0615                 pinctrl-1 = <&pwm5_sleep_pins_a>;
0616                 pinctrl-names = "default", "sleep";
0617                 status = "okay";
0618         };
0619         timer@4 {
0620                 status = "okay";
0621         };
0622 };
0623 
0624 &timers6 {
0625         /delete-property/dmas;
0626         /delete-property/dma-names;
0627         status = "disabled";
0628         timer@5 {
0629                 status = "okay";
0630         };
0631 };
0632 
0633 &timers12 {
0634         /delete-property/dmas;
0635         /delete-property/dma-names;
0636         status = "disabled";
0637         pwm {
0638                 pinctrl-0 = <&pwm12_pins_a>;
0639                 pinctrl-1 = <&pwm12_sleep_pins_a>;
0640                 pinctrl-names = "default", "sleep";
0641                 status = "okay";
0642         };
0643         timer@11 {
0644                 status = "okay";
0645         };
0646 };
0647 
0648 &uart4 {
0649         pinctrl-names = "default", "sleep", "idle";
0650         pinctrl-0 = <&uart4_pins_a>;
0651         pinctrl-1 = <&uart4_sleep_pins_a>;
0652         pinctrl-2 = <&uart4_idle_pins_a>;
0653         /delete-property/dmas;
0654         /delete-property/dma-names;
0655         status = "okay";
0656 };
0657 
0658 &uart7 {
0659         pinctrl-names = "default", "sleep", "idle";
0660         pinctrl-0 = <&uart7_pins_c>;
0661         pinctrl-1 = <&uart7_sleep_pins_c>;
0662         pinctrl-2 = <&uart7_idle_pins_c>;
0663         /delete-property/dmas;
0664         /delete-property/dma-names;
0665         status = "disabled";
0666 };
0667 
0668 &usart3 {
0669         pinctrl-names = "default", "sleep", "idle";
0670         pinctrl-0 = <&usart3_pins_c>;
0671         pinctrl-1 = <&usart3_sleep_pins_c>;
0672         pinctrl-2 = <&usart3_idle_pins_c>;
0673         uart-has-rtscts;
0674         status = "disabled";
0675 };
0676 
0677 &usbh_ehci {
0678         phys = <&usbphyc_port0>;
0679         status = "okay";
0680         #address-cells = <1>;
0681         #size-cells = <0>;
0682         /* onboard HUB */
0683         hub@1 {
0684                 compatible = "usb424,2514";
0685                 reg = <1>;
0686                 vdd-supply = <&v3v3>;
0687         };
0688 };
0689 
0690 &usbotg_hs {
0691         phys = <&usbphyc_port1 0>;
0692         phy-names = "usb2-phy";
0693         usb-role-switch;
0694         status = "okay";
0695 
0696         port {
0697                 usbotg_hs_ep: endpoint {
0698                         remote-endpoint = <&con_usbotg_hs_ep>;
0699                 };
0700         };
0701 };
0702 
0703 &usbphyc {
0704         status = "okay";
0705 };
0706 
0707 &usbphyc_port0 {
0708         phy-supply = <&vdd_usb>;
0709         st,tune-hs-dc-level = <2>;
0710         st,enable-fs-rftime-tuning;
0711         st,enable-hs-rftime-reduction;
0712         st,trim-hs-current = <15>;
0713         st,trim-hs-impedance = <1>;
0714         st,tune-squelch-level = <3>;
0715         st,tune-hs-rx-offset = <2>;
0716         st,no-lsfs-sc;
0717 };
0718 
0719 &usbphyc_port1 {
0720         phy-supply = <&vdd_usb>;
0721         st,tune-hs-dc-level = <2>;
0722         st,enable-fs-rftime-tuning;
0723         st,enable-hs-rftime-reduction;
0724         st,trim-hs-current = <15>;
0725         st,trim-hs-impedance = <1>;
0726         st,tune-squelch-level = <3>;
0727         st,tune-hs-rx-offset = <2>;
0728         st,no-lsfs-sc;
0729 };
0730 
0731 &vrefbuf {
0732         regulator-min-microvolt = <2500000>;
0733         regulator-max-microvolt = <2500000>;
0734         vdda-supply = <&vdd>;
0735         status = "okay";
0736 };