1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Copyright (C) 2022-2024 Texas Instruments I 4 */ 5 6 /dts-v1/; 7 /plugin/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq 10 #include "k3-pinctrl.h" 11 12 &mcasp1 { 13 status = "disabled"; 14 }; 15 16 &main_pmx0 { 17 gpmc0_pins_default: gpmc0-pins-default 18 pinctrl-single,pins = < 19 AM62X_IOPAD(0x003c, PI 20 AM62X_IOPAD(0x0040, PI 21 AM62X_IOPAD(0x0044, PI 22 AM62X_IOPAD(0x0048, PI 23 AM62X_IOPAD(0x004c, PI 24 AM62X_IOPAD(0x0050, PI 25 AM62X_IOPAD(0x0054, PI 26 AM62X_IOPAD(0x0058, PI 27 AM62X_IOPAD(0x0098, PI 28 AM62X_IOPAD(0x00a8, PI 29 AM62X_IOPAD(0x0084, PI 30 AM62X_IOPAD(0x0088, PI 31 AM62X_IOPAD(0x008c, PI 32 AM62X_IOPAD(0x0090, PI 33 AM62X_IOPAD(0x00a0, PI 34 >; 35 }; 36 }; 37 38 &elm0 { 39 status = "okay"; 40 }; 41 42 &gpmc0 { 43 status = "okay"; 44 pinctrl-names = "default"; 45 pinctrl-0 = <&gpmc0_pins_default>; 46 #address-cells = <2>; 47 #size-cells = <1>; 48 49 nand@0,0 { 50 compatible = "ti,am64-nand"; 51 reg = <0 0 64>; /* dev 52 interrupt-parent = <&gpmc0>; 53 interrupts = <0 IRQ_TYPE_NONE> 54 <1 IRQ_TYPE_NONE> 55 rb-gpios = <&gpmc0 0 GPIO_ACTI 56 ti,nand-xfer-type = "prefetch- 57 ti,nand-ecc-opt = "bch8"; 58 ti,elm-id = <&elm0>; 59 nand-bus-width = <8>; 60 gpmc,device-width = <1>; 61 gpmc,sync-clk-ps = <0>; 62 gpmc,cs-on-ns = <0>; 63 gpmc,cs-rd-off-ns = <40>; 64 gpmc,cs-wr-off-ns = <40>; 65 gpmc,adv-on-ns = <0>; 66 gpmc,adv-rd-off-ns = <25>; 67 gpmc,adv-wr-off-ns = <25>; 68 gpmc,we-on-ns = <0>; 69 gpmc,we-off-ns = <20>; 70 gpmc,oe-on-ns = <3>; 71 gpmc,oe-off-ns = <30>; 72 gpmc,access-ns = <30>; 73 gpmc,rd-cycle-ns = <40>; 74 gpmc,wr-cycle-ns = <40>; 75 gpmc,bus-turnaround-ns = <0>; 76 gpmc,cycle2cycle-delay-ns = <0 77 gpmc,clk-activation-ns = <0>; 78 gpmc,wr-access-ns = <40>; 79 gpmc,wr-data-mux-bus-ns = <0>; 80 81 partitions { 82 compatible = "fixed-pa 83 #address-cells = <1>; 84 #size-cells = <1>; 85 86 partition@0 { 87 label = "NAND. 88 reg = <0x00000 89 }; 90 partition@200000 { 91 label = "NAND. 92 reg = <0x00200 93 }; 94 partition@400000 { 95 label = "NAND. 96 reg = <0x00400 97 }; 98 partition@600000 { 99 label = "NAND. 100 reg = <0x00600 101 }; 102 partition@a00000 { 103 label = "NAND. 104 reg = <0x00a00 105 }; 106 partition@a40000 { 107 label = "NAND. 108 reg = <0x00a40 109 }; 110 partition@a80000 { 111 label = "NAND. 112 reg = <0x00a80 113 }; 114 }; 115 }; 116 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.