1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Device Tree include for the Kontron SMARC-s 3 * Device Tree include for the Kontron SMARC-sAMX6i board on a SMARC Eval 4 * 2.0 carrier (ADS2). 4 * 2.0 carrier (ADS2). 5 * 5 * 6 */ 6 */ 7 7 8 / { 8 / { 9 chosen { 9 chosen { 10 stdout-path = "serial0:115200n 10 stdout-path = "serial0:115200n8"; 11 }; 11 }; 12 12 13 sound { 13 sound { 14 #address-cells = <1>; 14 #address-cells = <1>; 15 #size-cells = <0>; 15 #size-cells = <0>; 16 compatible = "simple-audio-car 16 compatible = "simple-audio-card"; 17 simple-audio-card,format = "i2 17 simple-audio-card,format = "i2s"; 18 simple-audio-card,bitclock-mas 18 simple-audio-card,bitclock-master = <&dailink_master>; 19 simple-audio-card,frame-master 19 simple-audio-card,frame-master = <&dailink_master>; 20 simple-audio-card,widgets = 20 simple-audio-card,widgets = 21 "Headphone", "Headphon 21 "Headphone", "Headphone Jack", 22 "Line", "Line Out Jack 22 "Line", "Line Out Jack", 23 "Microphone", "Microph 23 "Microphone", "Microphone Jack", 24 "Line", "Line In Jack" 24 "Line", "Line In Jack"; 25 simple-audio-card,routing = 25 simple-audio-card,routing = 26 "Line Out Jack", "LINE 26 "Line Out Jack", "LINEOUTR", 27 "Line Out Jack", "LINE 27 "Line Out Jack", "LINEOUTL", 28 "Headphone Jack", "HPO 28 "Headphone Jack", "HPOUTR", 29 "Headphone Jack", "HPO 29 "Headphone Jack", "HPOUTL", 30 "IN1L", "Line In Jack" 30 "IN1L", "Line In Jack", 31 "IN1R", "Line In Jack" 31 "IN1R", "Line In Jack", 32 "Microphone Jack", "MI 32 "Microphone Jack", "MICBIAS", 33 "IN2L", "Microphone Ja 33 "IN2L", "Microphone Jack", 34 "IN2R", "Microphone Ja 34 "IN2R", "Microphone Jack"; 35 35 36 simple-audio-card,cpu { 36 simple-audio-card,cpu { 37 sound-dai = <&ssi1>; 37 sound-dai = <&ssi1>; 38 }; 38 }; 39 39 40 dailink_master: simple-audio-c 40 dailink_master: simple-audio-card,codec { 41 sound-dai = <&wm8904>; 41 sound-dai = <&wm8904>; 42 }; 42 }; 43 }; 43 }; 44 44 45 reg_codec_mic: regulator-codec-mic { 45 reg_codec_mic: regulator-codec-mic { 46 compatible = "regulator-fixed" 46 compatible = "regulator-fixed"; 47 regulator-name = "V_3V3_MIC"; 47 regulator-name = "V_3V3_MIC"; 48 regulator-min-microvolt = <330 48 regulator-min-microvolt = <3300000>; 49 regulator-max-microvolt = <330 49 regulator-max-microvolt = <3300000>; 50 regulator-always-on; 50 regulator-always-on; 51 regulator-boot-on; 51 regulator-boot-on; 52 }; 52 }; 53 53 54 reg_codec_1p8v: regulator-codec-1p8v { 54 reg_codec_1p8v: regulator-codec-1p8v { 55 compatible = "regulator-fixed" 55 compatible = "regulator-fixed"; 56 regulator-name = "V_1V8_S0_COD 56 regulator-name = "V_1V8_S0_CODEC"; 57 regulator-min-microvolt = <180 57 regulator-min-microvolt = <1800000>; 58 regulator-max-microvolt = <180 58 regulator-max-microvolt = <1800000>; 59 regulator-always-on; 59 regulator-always-on; 60 regulator-boot-on; 60 regulator-boot-on; 61 }; 61 }; 62 }; 62 }; 63 63 64 &audmux { 64 &audmux { 65 status = "okay"; 65 status = "okay"; 66 }; 66 }; 67 67 68 &can1 { 68 &can1 { 69 status = "okay"; 69 status = "okay"; 70 }; 70 }; 71 71 72 &can2 { 72 &can2 { 73 status = "okay"; 73 status = "okay"; 74 }; 74 }; 75 75 76 &ecspi4 { 76 &ecspi4 { 77 flash@1 { 77 flash@1 { 78 compatible = "jedec,spi-nor"; 78 compatible = "jedec,spi-nor"; 79 reg = <1>; 79 reg = <1>; 80 spi-max-frequency = <100000000 80 spi-max-frequency = <100000000>; 81 m25p,fast-read; 81 m25p,fast-read; 82 }; 82 }; 83 }; 83 }; 84 84 85 &fec { 85 &fec { 86 status = "okay"; 86 status = "okay"; 87 }; 87 }; 88 88 89 &i2c1 { 89 &i2c1 { 90 status = "okay"; 90 status = "okay"; 91 91 92 wm8904: audio-codec@1a { 92 wm8904: audio-codec@1a { 93 compatible = "wlf,wm8904"; 93 compatible = "wlf,wm8904"; 94 reg = <0x1a>; 94 reg = <0x1a>; 95 #sound-dai-cells = <0>; 95 #sound-dai-cells = <0>; 96 clocks = <&clks IMX6QDL_CLK_CK 96 clocks = <&clks IMX6QDL_CLK_CKO2>; 97 clock-names = "mclk"; 97 clock-names = "mclk"; 98 AVDD-supply = <®_codec_1p8v 98 AVDD-supply = <®_codec_1p8v>; 99 CPVDD-supply = <®_codec_1p8 99 CPVDD-supply = <®_codec_1p8v>; 100 DBVDD-supply = <®_codec_1p8 100 DBVDD-supply = <®_codec_1p8v>; 101 DCVDD-supply = <®_codec_1p8 101 DCVDD-supply = <®_codec_1p8v>; 102 MICVDD-supply = <®_codec_mi 102 MICVDD-supply = <®_codec_mic>; 103 }; 103 }; 104 }; 104 }; 105 105 106 &i2c3 { 106 &i2c3 { 107 eeprom@57 { 107 eeprom@57 { 108 compatible = "atmel,24c64"; 108 compatible = "atmel,24c64"; 109 reg = <0x57>; 109 reg = <0x57>; 110 pagesize = <32>; 110 pagesize = <32>; 111 }; 111 }; 112 }; 112 }; 113 113 114 &pcie { 114 &pcie { 115 status = "okay"; 115 status = "okay"; 116 }; 116 }; 117 117 118 &ssi1 { 118 &ssi1 { 119 status = "okay"; 119 status = "okay"; 120 }; 120 }; 121 121 122 &uart1 { 122 &uart1 { 123 status = "okay"; 123 status = "okay"; 124 }; 124 }; 125 125 126 &uart2 { 126 &uart2 { 127 status = "okay"; 127 status = "okay"; 128 }; 128 }; 129 129 130 &uart4 { 130 &uart4 { 131 status = "okay"; 131 status = "okay"; 132 }; 132 }; 133 133 134 &uart5 { 134 &uart5 { 135 status = "okay"; 135 status = "okay"; 136 }; 136 }; 137 137 138 &usbh1 { 138 &usbh1 { 139 status = "okay"; 139 status = "okay"; 140 }; 140 }; 141 141 142 &usbotg { 142 &usbotg { 143 status = "okay"; 143 status = "okay"; 144 }; 144 }; 145 145 146 &usdhc3 { 146 &usdhc3 { 147 status = "okay"; 147 status = "okay"; 148 }; 148 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.