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