1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 2 3 /dts-v1/; 3 /dts-v1/; 4 4 5 #include <dt-bindings/clock/clps711x-clock.h> 5 #include <dt-bindings/clock/clps711x-clock.h> 6 6 7 / { 7 / { 8 #address-cells = <1>; 8 #address-cells = <1>; 9 #size-cells = <1>; 9 #size-cells = <1>; 10 model = "Cirrus Logic EP7209"; 10 model = "Cirrus Logic EP7209"; 11 compatible = "cirrus,ep7209"; 11 compatible = "cirrus,ep7209"; 12 12 13 chosen { }; 13 chosen { }; 14 14 15 aliases { 15 aliases { 16 gpio0 = &porta; 16 gpio0 = &porta; 17 gpio1 = &portb; 17 gpio1 = &portb; 18 gpio3 = &portd; 18 gpio3 = &portd; 19 gpio4 = &porte; 19 gpio4 = &porte; 20 serial0 = &uart1; 20 serial0 = &uart1; 21 serial1 = &uart2; 21 serial1 = &uart2; 22 spi0 = &spi; 22 spi0 = &spi; 23 timer0 = &timer1; 23 timer0 = &timer1; 24 timer1 = &timer2; 24 timer1 = &timer2; 25 }; 25 }; 26 26 27 cpus { 27 cpus { 28 #address-cells = <0>; 28 #address-cells = <0>; 29 #size-cells = <0>; 29 #size-cells = <0>; 30 30 31 cpu { 31 cpu { 32 device_type = "cpu"; 32 device_type = "cpu"; 33 compatible = "arm,arm7 33 compatible = "arm,arm720t"; 34 }; 34 }; 35 }; 35 }; 36 36 37 soc { 37 soc { 38 #address-cells = <1>; 38 #address-cells = <1>; 39 #size-cells = <1>; 39 #size-cells = <1>; 40 compatible = "simple-bus"; 40 compatible = "simple-bus"; 41 interrupt-parent = <&intc>; 41 interrupt-parent = <&intc>; 42 ranges; 42 ranges; 43 43 44 clks: clks@80000000 { 44 clks: clks@80000000 { 45 #clock-cells = <1>; 45 #clock-cells = <1>; 46 compatible = "cirrus,e 46 compatible = "cirrus,ep7209-clk"; 47 reg = <0x80000000 0xc0 47 reg = <0x80000000 0xc000>; 48 startup-frequency = <7 48 startup-frequency = <73728000>; 49 }; 49 }; 50 50 51 intc: intc@80000000 { 51 intc: intc@80000000 { 52 compatible = "cirrus,e 52 compatible = "cirrus,ep7209-intc"; 53 reg = <0x80000000 0x40 53 reg = <0x80000000 0x4000>; 54 interrupt-controller; 54 interrupt-controller; 55 #interrupt-cells = <1> 55 #interrupt-cells = <1>; 56 }; 56 }; 57 57 58 porta: gpio@80000000 { 58 porta: gpio@80000000 { 59 compatible = "cirrus,e 59 compatible = "cirrus,ep7209-gpio"; 60 reg = <0x80000000 0x1 60 reg = <0x80000000 0x1 0x80000040 0x1>; 61 gpio-controller; 61 gpio-controller; 62 #gpio-cells = <2>; 62 #gpio-cells = <2>; 63 }; 63 }; 64 64 65 portb: gpio@80000001 { 65 portb: gpio@80000001 { 66 compatible = "cirrus,e 66 compatible = "cirrus,ep7209-gpio"; 67 reg = <0x80000001 0x1 67 reg = <0x80000001 0x1 0x80000041 0x1>; 68 gpio-controller; 68 gpio-controller; 69 #gpio-cells = <2>; 69 #gpio-cells = <2>; 70 }; 70 }; 71 71 72 portd: gpio@80000003 { 72 portd: gpio@80000003 { 73 compatible = "cirrus,e 73 compatible = "cirrus,ep7209-gpio"; 74 reg = <0x80000003 0x1 74 reg = <0x80000003 0x1 0x80000043 0x1>; 75 gpio-controller; 75 gpio-controller; 76 #gpio-cells = <2>; 76 #gpio-cells = <2>; 77 }; 77 }; 78 78 79 porte: gpio@80000083 { 79 porte: gpio@80000083 { 80 compatible = "cirrus,e 80 compatible = "cirrus,ep7209-gpio"; 81 reg = <0x80000083 0x1 81 reg = <0x80000083 0x1 0x800000c3 0x1>; 82 gpio-controller; 82 gpio-controller; 83 #gpio-cells = <2>; 83 #gpio-cells = <2>; 84 }; 84 }; 85 85 86 syscon1: syscon@80000100 { 86 syscon1: syscon@80000100 { 87 compatible = "cirrus,e 87 compatible = "cirrus,ep7209-syscon1", "syscon"; 88 reg = <0x80000100 0x80 88 reg = <0x80000100 0x80>; 89 }; 89 }; 90 90 91 bus: bus@80000180 { 91 bus: bus@80000180 { 92 #address-cells = <2>; 92 #address-cells = <2>; 93 #size-cells = <1>; 93 #size-cells = <1>; 94 compatible = "cirrus,e 94 compatible = "cirrus,ep7209-bus", "simple-bus"; 95 clocks = <&clks CLPS71 95 clocks = <&clks CLPS711X_CLK_BUS>; 96 reg = <0x80000180 0x80 96 reg = <0x80000180 0x80>; 97 ranges = < 97 ranges = < 98 0 0 0x00000000 98 0 0 0x00000000 0x10000000 99 1 0 0x10000000 99 1 0 0x10000000 0x10000000 100 2 0 0x20000000 100 2 0 0x20000000 0x10000000 101 3 0 0x30000000 101 3 0 0x30000000 0x10000000 102 4 0 0x40000000 102 4 0 0x40000000 0x10000000 103 5 0 0x50000000 103 5 0 0x50000000 0x10000000 104 6 0 0x60000000 104 6 0 0x60000000 0x0000c000 105 7 0 0x70000000 105 7 0 0x70000000 0x00000080 106 >; 106 >; 107 }; 107 }; 108 108 109 fb: fb@800002c0 { 109 fb: fb@800002c0 { 110 compatible = "cirrus,e 110 compatible = "cirrus,ep7209-fb"; 111 reg = <0x800002c0 0xd4 111 reg = <0x800002c0 0xd44>, <0x60000000 0xc000>; 112 clocks = <&clks CLPS71 112 clocks = <&clks CLPS711X_CLK_BUS>; 113 syscon = <&syscon1>; 113 syscon = <&syscon1>; 114 status = "disabled"; 114 status = "disabled"; 115 }; 115 }; 116 116 117 timer1: timer@80000300 { 117 timer1: timer@80000300 { 118 compatible = "cirrus,e 118 compatible = "cirrus,ep7209-timer"; 119 reg = <0x80000300 0x4> 119 reg = <0x80000300 0x4>; 120 clocks = <&clks CLPS71 120 clocks = <&clks CLPS711X_CLK_TIMER1>; 121 interrupts = <8>; 121 interrupts = <8>; 122 }; 122 }; 123 123 124 timer2: timer@80000340 { 124 timer2: timer@80000340 { 125 compatible = "cirrus,e 125 compatible = "cirrus,ep7209-timer"; 126 reg = <0x80000340 0x4> 126 reg = <0x80000340 0x4>; 127 clocks = <&clks CLPS71 127 clocks = <&clks CLPS711X_CLK_TIMER2>; 128 interrupts = <9>; 128 interrupts = <9>; 129 }; 129 }; 130 130 131 pwm: pwm@80000400 { 131 pwm: pwm@80000400 { 132 compatible = "cirrus,e 132 compatible = "cirrus,ep7209-pwm"; 133 reg = <0x80000400 0x4> 133 reg = <0x80000400 0x4>; 134 clocks = <&clks CLPS71 134 clocks = <&clks CLPS711X_CLK_PWM>; 135 #pwm-cells = <1>; 135 #pwm-cells = <1>; 136 }; 136 }; 137 137 138 uart1: serial@80000480 { 138 uart1: serial@80000480 { 139 compatible = "cirrus,e 139 compatible = "cirrus,ep7209-uart"; 140 reg = <0x80000480 0x80 140 reg = <0x80000480 0x80>; 141 interrupts = <12 13>; 141 interrupts = <12 13>; 142 clocks = <&clks CLPS71 142 clocks = <&clks CLPS711X_CLK_UART>; 143 syscon = <&syscon1>; 143 syscon = <&syscon1>; 144 }; 144 }; 145 145 146 spi: spi@80000500 { 146 spi: spi@80000500 { 147 #address-cells = <1>; 147 #address-cells = <1>; 148 #size-cells = <0>; 148 #size-cells = <0>; 149 compatible = "cirrus,e 149 compatible = "cirrus,ep7209-spi"; 150 reg = <0x80000500 0x4> 150 reg = <0x80000500 0x4>; 151 interrupts = <15>; 151 interrupts = <15>; 152 clocks = <&clks CLPS71 152 clocks = <&clks CLPS711X_CLK_SPI>; 153 syscon = <&syscon3>; 153 syscon = <&syscon3>; 154 status = "disabled"; 154 status = "disabled"; 155 }; 155 }; 156 156 157 syscon2: syscon@80001100 { 157 syscon2: syscon@80001100 { 158 compatible = "cirrus,e 158 compatible = "cirrus,ep7209-syscon2", "syscon"; 159 reg = <0x80001100 0x80 159 reg = <0x80001100 0x80>; 160 }; 160 }; 161 161 162 uart2: serial@80001480 { 162 uart2: serial@80001480 { 163 compatible = "cirrus,e 163 compatible = "cirrus,ep7209-uart"; 164 reg = <0x80001480 0x80 164 reg = <0x80001480 0x80>; 165 interrupts = <28 29>; 165 interrupts = <28 29>; 166 clocks = <&clks CLPS71 166 clocks = <&clks CLPS711X_CLK_UART>; 167 syscon = <&syscon2>; 167 syscon = <&syscon2>; 168 }; 168 }; 169 169 170 dai: dai@80002000 { 170 dai: dai@80002000 { 171 #sound-dai-cells = <0> 171 #sound-dai-cells = <0>; 172 compatible = "cirrus,e 172 compatible = "cirrus,ep7209-dai"; 173 reg = <0x80002000 0x60 173 reg = <0x80002000 0x604>; 174 clocks = <&clks CLPS71 174 clocks = <&clks CLPS711X_CLK_PLL>; 175 clock-names = "pll"; 175 clock-names = "pll"; 176 interrupts = <32>; 176 interrupts = <32>; 177 syscon = <&syscon3>; 177 syscon = <&syscon3>; 178 status = "disabled"; 178 status = "disabled"; 179 }; 179 }; 180 180 181 syscon3: syscon@80002200 { 181 syscon3: syscon@80002200 { 182 compatible = "cirrus,e 182 compatible = "cirrus,ep7209-syscon3", "syscon"; 183 reg = <0x80002200 0x40 183 reg = <0x80002200 0x40>; 184 }; 184 }; 185 }; 185 }; 186 186 187 keypad: keypad { 187 keypad: keypad { 188 compatible = "cirrus,ep7209-ke 188 compatible = "cirrus,ep7209-keypad"; 189 interrupt-parent = <&intc>; 189 interrupt-parent = <&intc>; 190 interrupts = <16>; 190 interrupts = <16>; 191 syscon = <&syscon1>; 191 syscon = <&syscon1>; 192 status = "disabled"; 192 status = "disabled"; 193 }; 193 }; 194 194 195 mctrl: mctrl { 195 mctrl: mctrl { 196 compatible = "cirrus,ep7209-mc 196 compatible = "cirrus,ep7209-mctrl-gpio"; 197 gpio,syscon-dev = <&syscon1 0 197 gpio,syscon-dev = <&syscon1 0 0>; 198 gpio-controller; 198 gpio-controller; 199 #gpio-cells = <2>; 199 #gpio-cells = <2>; 200 }; 200 }; 201 }; 201 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.