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