1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright 2017-2022 Toradex 4*f126890aSEmmanuel Vadot */ 5*f126890aSEmmanuel Vadot 6*f126890aSEmmanuel Vadot/ { 7*f126890aSEmmanuel Vadot chosen { 8*f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 9*f126890aSEmmanuel Vadot }; 10*f126890aSEmmanuel Vadot 11*f126890aSEmmanuel Vadot /* fixed crystal dedicated to mcp2515 */ 12*f126890aSEmmanuel Vadot clk16m: clk16m { 13*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 14*f126890aSEmmanuel Vadot #clock-cells = <0>; 15*f126890aSEmmanuel Vadot clock-frequency = <16000000>; 16*f126890aSEmmanuel Vadot }; 17*f126890aSEmmanuel Vadot 18*f126890aSEmmanuel Vadot reg_3v3: regulator-3v3 { 19*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 20*f126890aSEmmanuel Vadot regulator-name = "3.3V"; 21*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 22*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 23*f126890aSEmmanuel Vadot }; 24*f126890aSEmmanuel Vadot 25*f126890aSEmmanuel Vadot reg_5v0: regulator-5v0 { 26*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 27*f126890aSEmmanuel Vadot regulator-name = "5V"; 28*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 29*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 30*f126890aSEmmanuel Vadot }; 31*f126890aSEmmanuel Vadot 32*f126890aSEmmanuel Vadot reg_usbh_vbus: regulator-usbh-vbus { 33*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 34*f126890aSEmmanuel Vadot pinctrl-names = "default"; 35*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_usbh_reg>; 36*f126890aSEmmanuel Vadot regulator-name = "VCC_USB[1-4]"; 37*f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 38*f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 39*f126890aSEmmanuel Vadot gpio = <&gpio1 2 GPIO_ACTIVE_LOW>; 40*f126890aSEmmanuel Vadot vin-supply = <®_5v0>; 41*f126890aSEmmanuel Vadot }; 42*f126890aSEmmanuel Vadot}; 43*f126890aSEmmanuel Vadot 44*f126890aSEmmanuel Vadot&adc1 { 45*f126890aSEmmanuel Vadot status = "okay"; 46*f126890aSEmmanuel Vadot}; 47*f126890aSEmmanuel Vadot 48*f126890aSEmmanuel Vadot&ecspi1 { 49*f126890aSEmmanuel Vadot status = "okay"; 50*f126890aSEmmanuel Vadot 51*f126890aSEmmanuel Vadot mcp2515: can@0 { 52*f126890aSEmmanuel Vadot compatible = "microchip,mcp2515"; 53*f126890aSEmmanuel Vadot pinctrl-names = "default"; 54*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_can_int>; 55*f126890aSEmmanuel Vadot reg = <0>; 56*f126890aSEmmanuel Vadot clocks = <&clk16m>; 57*f126890aSEmmanuel Vadot interrupt-parent = <&gpio2>; 58*f126890aSEmmanuel Vadot interrupts = <4 IRQ_TYPE_EDGE_FALLING>; 59*f126890aSEmmanuel Vadot spi-max-frequency = <10000000>; 60*f126890aSEmmanuel Vadot vdd-supply = <®_3v3>; 61*f126890aSEmmanuel Vadot xceiver-supply = <®_5v0>; 62*f126890aSEmmanuel Vadot status = "okay"; 63*f126890aSEmmanuel Vadot }; 64*f126890aSEmmanuel Vadot}; 65*f126890aSEmmanuel Vadot 66*f126890aSEmmanuel Vadot&i2c1 { 67*f126890aSEmmanuel Vadot status = "okay"; 68*f126890aSEmmanuel Vadot 69*f126890aSEmmanuel Vadot /* M41T0M6 real time clock on carrier board */ 70*f126890aSEmmanuel Vadot m41t0m6: rtc@68 { 71*f126890aSEmmanuel Vadot compatible = "st,m41t0"; 72*f126890aSEmmanuel Vadot reg = <0x68>; 73*f126890aSEmmanuel Vadot }; 74*f126890aSEmmanuel Vadot}; 75*f126890aSEmmanuel Vadot 76*f126890aSEmmanuel Vadot/* PWM <A> */ 77*f126890aSEmmanuel Vadot&pwm4 { 78*f126890aSEmmanuel Vadot status = "okay"; 79*f126890aSEmmanuel Vadot}; 80*f126890aSEmmanuel Vadot 81*f126890aSEmmanuel Vadot/* PWM <B> */ 82*f126890aSEmmanuel Vadot&pwm5 { 83*f126890aSEmmanuel Vadot status = "okay"; 84*f126890aSEmmanuel Vadot}; 85*f126890aSEmmanuel Vadot 86*f126890aSEmmanuel Vadot/* PWM <C> */ 87*f126890aSEmmanuel Vadot&pwm6 { 88*f126890aSEmmanuel Vadot status = "okay"; 89*f126890aSEmmanuel Vadot}; 90*f126890aSEmmanuel Vadot 91*f126890aSEmmanuel Vadot/* PWM <D> */ 92*f126890aSEmmanuel Vadot&pwm7 { 93*f126890aSEmmanuel Vadot status = "okay"; 94*f126890aSEmmanuel Vadot}; 95*f126890aSEmmanuel Vadot 96*f126890aSEmmanuel Vadot&uart1 { 97*f126890aSEmmanuel Vadot status = "okay"; 98*f126890aSEmmanuel Vadot}; 99*f126890aSEmmanuel Vadot 100*f126890aSEmmanuel Vadot&uart2 { 101*f126890aSEmmanuel Vadot status = "okay"; 102*f126890aSEmmanuel Vadot}; 103*f126890aSEmmanuel Vadot 104*f126890aSEmmanuel Vadot&uart5 { 105*f126890aSEmmanuel Vadot status = "okay"; 106*f126890aSEmmanuel Vadot}; 107*f126890aSEmmanuel Vadot 108*f126890aSEmmanuel Vadot&usbotg1 { 109*f126890aSEmmanuel Vadot disable-over-current; 110*f126890aSEmmanuel Vadot vbus-supply = <®_usbh_vbus>; 111*f126890aSEmmanuel Vadot status = "okay"; 112*f126890aSEmmanuel Vadot}; 113*f126890aSEmmanuel Vadot 114*f126890aSEmmanuel Vadot&usbotg2 { 115*f126890aSEmmanuel Vadot disable-over-current; 116*f126890aSEmmanuel Vadot vbus-supply = <®_usbh_vbus>; 117*f126890aSEmmanuel Vadot status = "okay"; 118*f126890aSEmmanuel Vadot}; 119*f126890aSEmmanuel Vadot 120*f126890aSEmmanuel Vadot&usdhc1 { 121*f126890aSEmmanuel Vadot vmmc-supply = <®_3v3>; 122*f126890aSEmmanuel Vadot status = "okay"; 123*f126890aSEmmanuel Vadot}; 124