1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 2 /* 3 * Copyright (C) 2015, 2016 Imagination Techno 3 * Copyright (C) 2015, 2016 Imagination Technologies Ltd. 4 * 4 * 5 * IMG Marduk board is also known as Creator C 5 * IMG Marduk board is also known as Creator Ci40. 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include "pistachio.dtsi" 10 #include "pistachio.dtsi" 11 11 12 / { 12 / { 13 model = "IMG Marduk (Creator Ci40)"; 13 model = "IMG Marduk (Creator Ci40)"; 14 compatible = "img,pistachio-marduk", " 14 compatible = "img,pistachio-marduk", "img,pistachio"; 15 15 16 aliases { 16 aliases { 17 serial0 = &uart0; 17 serial0 = &uart0; 18 serial1 = &uart1; 18 serial1 = &uart1; 19 ethernet0 = &enet; 19 ethernet0 = &enet; 20 spi0 = &spfi0; 20 spi0 = &spfi0; 21 spi1 = &spfi1; 21 spi1 = &spfi1; 22 }; 22 }; 23 23 24 chosen { 24 chosen { 25 bootargs = "root=/dev/sda1 roo 25 bootargs = "root=/dev/sda1 rootwait ro lpj=723968"; 26 stdout-path = "serial1:115200" 26 stdout-path = "serial1:115200"; 27 }; 27 }; 28 28 29 memory { 29 memory { 30 device_type = "memory"; 30 device_type = "memory"; 31 reg = <0x00000000 0x10000000> 31 reg = <0x00000000 0x10000000>; 32 }; 32 }; 33 33 34 reg_1v8: fixed-regulator { 34 reg_1v8: fixed-regulator { 35 compatible = "regulator-fixed" 35 compatible = "regulator-fixed"; 36 regulator-name = "aux_adc_vref 36 regulator-name = "aux_adc_vref"; 37 regulator-min-microvolt = <180 37 regulator-min-microvolt = <1800000>; 38 regulator-max-microvolt = <180 38 regulator-max-microvolt = <1800000>; 39 regulator-boot-on; 39 regulator-boot-on; 40 }; 40 }; 41 41 42 internal_dac_supply: internal-dac-supp 42 internal_dac_supply: internal-dac-supply { 43 compatible = "regulator-fixed" 43 compatible = "regulator-fixed"; 44 regulator-name = "internal_dac 44 regulator-name = "internal_dac_supply"; 45 regulator-min-microvolt = <180 45 regulator-min-microvolt = <1800000>; 46 regulator-max-microvolt = <180 46 regulator-max-microvolt = <1800000>; 47 }; 47 }; 48 48 49 led-controller { 49 led-controller { 50 compatible = "pwm-leds"; 50 compatible = "pwm-leds"; 51 51 52 led-1 { 52 led-1 { 53 label = "marduk:red:he 53 label = "marduk:red:heartbeat"; 54 pwms = <&pwm 3 300000> 54 pwms = <&pwm 3 300000>; 55 max-brightness = <255> 55 max-brightness = <255>; 56 linux,default-trigger 56 linux,default-trigger = "heartbeat"; 57 }; 57 }; 58 }; 58 }; 59 59 60 keys { 60 keys { 61 compatible = "gpio-keys"; 61 compatible = "gpio-keys"; 62 button-1 { 62 button-1 { 63 label = "Button 1"; 63 label = "Button 1"; 64 linux,code = <0x101>; 64 linux,code = <0x101>; /* BTN_1 */ 65 gpios = <&gpio3 6 GPIO 65 gpios = <&gpio3 6 GPIO_ACTIVE_LOW>; 66 }; 66 }; 67 button-2 { 67 button-2 { 68 label = "Button 2"; 68 label = "Button 2"; 69 linux,code = <0x102>; 69 linux,code = <0x102>; /* BTN_2 */ 70 gpios = <&gpio2 14 GPI 70 gpios = <&gpio2 14 GPIO_ACTIVE_LOW>; 71 }; 71 }; 72 }; 72 }; 73 }; 73 }; 74 74 75 &internal_dac { 75 &internal_dac { 76 VDD-supply = <&internal_dac_supply>; 76 VDD-supply = <&internal_dac_supply>; 77 }; 77 }; 78 78 79 &spfi1 { 79 &spfi1 { 80 status = "okay"; 80 status = "okay"; 81 81 82 pinctrl-0 = <&spim1_pins>, <&spim1_qua 82 pinctrl-0 = <&spim1_pins>, <&spim1_quad_pins>, <&spim1_cs0_pin>, 83 <&spim1_cs1_pin>; 83 <&spim1_cs1_pin>; 84 pinctrl-names = "default"; 84 pinctrl-names = "default"; 85 cs-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH> 85 cs-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>, <&gpio0 1 GPIO_ACTIVE_HIGH>; 86 86 87 flash@0 { 87 flash@0 { 88 compatible = "spansion,s25fl01 88 compatible = "spansion,s25fl016k", "jedec,spi-nor"; 89 reg = <0>; 89 reg = <0>; 90 spi-max-frequency = <50000000> 90 spi-max-frequency = <50000000>; 91 }; 91 }; 92 }; 92 }; 93 93 94 &uart0 { 94 &uart0 { 95 status = "okay"; 95 status = "okay"; 96 assigned-clock-rates = <114278400>, <1 96 assigned-clock-rates = <114278400>, <1843200>; 97 }; 97 }; 98 98 99 &uart1 { 99 &uart1 { 100 status = "okay"; 100 status = "okay"; 101 }; 101 }; 102 102 103 &usb { 103 &usb { 104 status = "okay"; 104 status = "okay"; 105 }; 105 }; 106 106 107 &enet { 107 &enet { 108 status = "okay"; 108 status = "okay"; 109 }; 109 }; 110 110 111 &pin_enet { 111 &pin_enet { 112 drive-strength = <2>; 112 drive-strength = <2>; 113 }; 113 }; 114 114 115 &pin_enet_phy_clk { 115 &pin_enet_phy_clk { 116 drive-strength = <2>; 116 drive-strength = <2>; 117 }; 117 }; 118 118 119 &sdhost { 119 &sdhost { 120 status = "okay"; 120 status = "okay"; 121 bus-width = <4>; 121 bus-width = <4>; 122 disable-wp; 122 disable-wp; 123 }; 123 }; 124 124 125 &pin_sdhost_cmd { 125 &pin_sdhost_cmd { 126 drive-strength = <2>; 126 drive-strength = <2>; 127 }; 127 }; 128 128 129 &pin_sdhost_data { 129 &pin_sdhost_data { 130 drive-strength = <2>; 130 drive-strength = <2>; 131 }; 131 }; 132 132 133 &pwm { 133 &pwm { 134 status = "okay"; 134 status = "okay"; 135 135 136 pinctrl-0 = <&pwmpdm0_pin>, <&pwmpdm1_ 136 pinctrl-0 = <&pwmpdm0_pin>, <&pwmpdm1_pin>, <&pwmpdm2_pin>, 137 <&pwmpdm3_pin>; 137 <&pwmpdm3_pin>; 138 pinctrl-names = "default"; 138 pinctrl-names = "default"; 139 }; 139 }; 140 140 141 &adc { 141 &adc { 142 status = "okay"; 142 status = "okay"; 143 vref-supply = <®_1v8>; 143 vref-supply = <®_1v8>; 144 adc-reserved-channels = <0x10>; 144 adc-reserved-channels = <0x10>; 145 }; 145 }; 146 146 147 &i2c2 { 147 &i2c2 { 148 status = "okay"; 148 status = "okay"; 149 clock-frequency = <400000>; 149 clock-frequency = <400000>; 150 150 151 tpm@20 { 151 tpm@20 { 152 compatible = "infineon,slb9645 152 compatible = "infineon,slb9645tt"; 153 reg = <0x20>; 153 reg = <0x20>; 154 }; 154 }; 155 155 156 }; 156 }; 157 157 158 &i2c3 { 158 &i2c3 { 159 status = "okay"; 159 status = "okay"; 160 clock-frequency = <400000>; 160 clock-frequency = <400000>; 161 }; 161 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.