1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 2 /dts-v1/; 3 3 4 #include "dm814x.dtsi" 4 #include "dm814x.dtsi" 5 #include <dt-bindings/interrupt-controller/irq 5 #include <dt-bindings/interrupt-controller/irq.h> 6 6 7 / { 7 / { 8 model = "DM8148 EVM"; 8 model = "DM8148 EVM"; 9 compatible = "ti,dm8148-evm", "ti,dm81 9 compatible = "ti,dm8148-evm", "ti,dm8148", "ti,dm814"; 10 10 11 memory@80000000 { 11 memory@80000000 { 12 device_type = "memory"; 12 device_type = "memory"; 13 reg = <0x80000000 0x40000000>; 13 reg = <0x80000000 0x40000000>; /* 1 GB */ 14 }; 14 }; 15 15 16 /* MIC94060YC6 controlled by SD1_POW p 16 /* MIC94060YC6 controlled by SD1_POW pin */ 17 vmmcsd_fixed: fixedregulator0 { 17 vmmcsd_fixed: fixedregulator0 { 18 compatible = "regulator-fixed" 18 compatible = "regulator-fixed"; 19 regulator-name = "vmmcsd_fixed 19 regulator-name = "vmmcsd_fixed"; 20 regulator-min-microvolt = <330 20 regulator-min-microvolt = <3300000>; 21 regulator-max-microvolt = <330 21 regulator-max-microvolt = <3300000>; 22 }; 22 }; 23 }; 23 }; 24 24 25 &cpsw_emac0 { 25 &cpsw_emac0 { 26 phy-handle = <ðphy0>; 26 phy-handle = <ðphy0>; 27 phy-mode = "rgmii-id"; 27 phy-mode = "rgmii-id"; 28 }; 28 }; 29 29 30 &cpsw_emac1 { 30 &cpsw_emac1 { 31 phy-handle = <ðphy1>; 31 phy-handle = <ðphy1>; 32 phy-mode = "rgmii-id"; 32 phy-mode = "rgmii-id"; 33 }; 33 }; 34 34 35 &davinci_mdio { 35 &davinci_mdio { 36 ethphy0: ethernet-phy@0 { 36 ethphy0: ethernet-phy@0 { 37 reg = <0>; 37 reg = <0>; 38 }; 38 }; 39 39 40 ethphy1: ethernet-phy@1 { 40 ethphy1: ethernet-phy@1 { 41 reg = <1>; 41 reg = <1>; 42 }; 42 }; 43 }; 43 }; 44 44 45 &gpmc { 45 &gpmc { 46 ranges = <0 0 0x04000000 0x01000000>; 46 ranges = <0 0 0x04000000 0x01000000>; /* CS0: 16MB for NAND */ 47 47 48 nand@0,0 { 48 nand@0,0 { 49 compatible = "ti,omap2-nand"; 49 compatible = "ti,omap2-nand"; 50 reg = <0 0 4>; /* CS0, offset 50 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 51 interrupt-parent = <&gpmc>; 51 interrupt-parent = <&gpmc>; 52 interrupts = <0 IRQ_TYPE_NONE> 52 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ 53 <1 IRQ_TYPE_NONE> 53 <1 IRQ_TYPE_NONE>; /* termcount */ 54 linux,mtd-name = "micron,mt29f 54 linux,mtd-name = "micron,mt29f2g16aadwp"; 55 #address-cells = <1>; 55 #address-cells = <1>; 56 #size-cells = <1>; 56 #size-cells = <1>; 57 ti,nand-ecc-opt = "bch8"; 57 ti,nand-ecc-opt = "bch8"; 58 nand-bus-width = <16>; 58 nand-bus-width = <16>; 59 gpmc,device-width = <2>; 59 gpmc,device-width = <2>; 60 gpmc,sync-clk-ps = <0>; 60 gpmc,sync-clk-ps = <0>; 61 gpmc,cs-on-ns = <0>; 61 gpmc,cs-on-ns = <0>; 62 gpmc,cs-rd-off-ns = <44>; 62 gpmc,cs-rd-off-ns = <44>; 63 gpmc,cs-wr-off-ns = <44>; 63 gpmc,cs-wr-off-ns = <44>; 64 gpmc,adv-on-ns = <6>; 64 gpmc,adv-on-ns = <6>; 65 gpmc,adv-rd-off-ns = <34>; 65 gpmc,adv-rd-off-ns = <34>; 66 gpmc,adv-wr-off-ns = <44>; 66 gpmc,adv-wr-off-ns = <44>; 67 gpmc,we-on-ns = <0>; 67 gpmc,we-on-ns = <0>; 68 gpmc,we-off-ns = <40>; 68 gpmc,we-off-ns = <40>; 69 gpmc,oe-on-ns = <0>; 69 gpmc,oe-on-ns = <0>; 70 gpmc,oe-off-ns = <54>; 70 gpmc,oe-off-ns = <54>; 71 gpmc,access-ns = <64>; 71 gpmc,access-ns = <64>; 72 gpmc,rd-cycle-ns = <82>; 72 gpmc,rd-cycle-ns = <82>; 73 gpmc,wr-cycle-ns = <82>; 73 gpmc,wr-cycle-ns = <82>; 74 gpmc,bus-turnaround-ns = <0>; 74 gpmc,bus-turnaround-ns = <0>; 75 gpmc,cycle2cycle-delay-ns = <0 75 gpmc,cycle2cycle-delay-ns = <0>; 76 gpmc,clk-activation-ns = <0>; 76 gpmc,clk-activation-ns = <0>; 77 gpmc,wr-access-ns = <40>; 77 gpmc,wr-access-ns = <40>; 78 gpmc,wr-data-mux-bus-ns = <0>; 78 gpmc,wr-data-mux-bus-ns = <0>; 79 partition@0 { 79 partition@0 { 80 label = "X-Loader"; 80 label = "X-Loader"; 81 reg = <0 0x80000>; 81 reg = <0 0x80000>; 82 }; 82 }; 83 partition@80000 { 83 partition@80000 { 84 label = "U-Boot"; 84 label = "U-Boot"; 85 reg = <0x80000 0x1c000 85 reg = <0x80000 0x1c0000>; 86 }; 86 }; 87 partition@1c0000 { 87 partition@1c0000 { 88 label = "Environment"; 88 label = "Environment"; 89 reg = <0x240000 0x4000 89 reg = <0x240000 0x40000>; 90 }; 90 }; 91 partition@280000 { 91 partition@280000 { 92 label = "Kernel"; 92 label = "Kernel"; 93 reg = <0x280000 0x5000 93 reg = <0x280000 0x500000>; 94 }; 94 }; 95 partition@780000 { 95 partition@780000 { 96 label = "Filesystem"; 96 label = "Filesystem"; 97 reg = <0x780000 0xf880 97 reg = <0x780000 0xf880000>; 98 }; 98 }; 99 }; 99 }; 100 }; 100 }; 101 101 102 &mmc1 { 102 &mmc1 { 103 status = "disabled"; 103 status = "disabled"; 104 }; 104 }; 105 105 106 &mmc2 { 106 &mmc2 { 107 pinctrl-names = "default"; 107 pinctrl-names = "default"; 108 pinctrl-0 = <&sd1_pins>; 108 pinctrl-0 = <&sd1_pins>; 109 vmmc-supply = <&vmmcsd_fixed>; 109 vmmc-supply = <&vmmcsd_fixed>; 110 bus-width = <4>; 110 bus-width = <4>; 111 cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; 111 cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; 112 }; 112 }; 113 113 114 &mmc3 { 114 &mmc3 { 115 status = "disabled"; 115 status = "disabled"; 116 }; 116 }; 117 117 118 &pincntl { 118 &pincntl { 119 sd1_pins: sd1-pins { 119 sd1_pins: sd1-pins { 120 pinctrl-single,pins = < 120 pinctrl-single,pins = < 121 DM814X_IOPAD(0x0800, P 121 DM814X_IOPAD(0x0800, PIN_INPUT | 0x1) /* SD1_CLK */ 122 DM814X_IOPAD(0x0804, P 122 DM814X_IOPAD(0x0804, PIN_INPUT_PULLUP | 0x1) /* SD1_CMD */ 123 DM814X_IOPAD(0x0808, P 123 DM814X_IOPAD(0x0808, PIN_INPUT_PULLUP | 0x1) /* SD1_DAT[0] */ 124 DM814X_IOPAD(0x080c, P 124 DM814X_IOPAD(0x080c, PIN_INPUT_PULLUP | 0x1) /* SD1_DAT[1] */ 125 DM814X_IOPAD(0x0810, P 125 DM814X_IOPAD(0x0810, PIN_INPUT_PULLUP | 0x1) /* SD1_DAT[2] */ 126 DM814X_IOPAD(0x0814, P 126 DM814X_IOPAD(0x0814, PIN_INPUT_PULLUP | 0x1) /* SD1_DAT[3] */ 127 DM814X_IOPAD(0x0924, P 127 DM814X_IOPAD(0x0924, PIN_OUTPUT | 0x40) /* SD1_POW */ 128 DM814X_IOPAD(0x093C, P 128 DM814X_IOPAD(0x093C, PIN_INPUT_PULLUP | 0x80) /* GP1[6] */ 129 >; 129 >; 130 }; 130 }; 131 131 132 usb0_pins: usb0-pins { 132 usb0_pins: usb0-pins { 133 pinctrl-single,pins = < 133 pinctrl-single,pins = < 134 DM814X_IOPAD(0x0c34, P 134 DM814X_IOPAD(0x0c34, PIN_OUTPUT | 0x1) /* USB0_DRVVBUS */ 135 >; 135 >; 136 }; 136 }; 137 137 138 usb1_pins: usb1-pins { 138 usb1_pins: usb1-pins { 139 pinctrl-single,pins = < 139 pinctrl-single,pins = < 140 DM814X_IOPAD(0x0834, P 140 DM814X_IOPAD(0x0834, PIN_OUTPUT | 0x80) /* USB1_DRVVBUS */ 141 >; 141 >; 142 }; 142 }; 143 }; 143 }; 144 144 145 &usb0 { 145 &usb0 { 146 pinctrl-names = "default"; 146 pinctrl-names = "default"; 147 pinctrl-0 = <&usb0_pins>; 147 pinctrl-0 = <&usb0_pins>; 148 dr_mode = "host"; 148 dr_mode = "host"; 149 }; 149 }; 150 150 151 &usb1 { 151 &usb1 { 152 pinctrl-names = "default"; 152 pinctrl-names = "default"; 153 pinctrl-0 = <&usb1_pins>; 153 pinctrl-0 = <&usb1_pins>; 154 dr_mode = "host"; 154 dr_mode = "host"; 155 }; 155 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.