hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm64/boot/dts/rockchip/px30.dtsi
....@@ -26,6 +26,10 @@
2626
2727 aliases {
2828 ethernet0 = &gmac;
29
+ gpio0 = &gpio0;
30
+ gpio1 = &gpio1;
31
+ gpio2 = &gpio2;
32
+ gpio3 = &gpio3;
2933 i2c0 = &i2c0;
3034 i2c1 = &i2c1;
3135 i2c2 = &i2c2;
....@@ -1045,6 +1049,7 @@
10451049 pwm0: pwm@ff200000 {
10461050 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10471051 reg = <0x0 0xff200000 0x0 0x10>;
1052
+ interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
10481053 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10491054 clock-names = "pwm", "pclk";
10501055 pinctrl-names = "active";
....@@ -1056,6 +1061,7 @@
10561061 pwm1: pwm@ff200010 {
10571062 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10581063 reg = <0x0 0xff200010 0x0 0x10>;
1064
+ interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
10591065 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10601066 clock-names = "pwm", "pclk";
10611067 pinctrl-names = "active";
....@@ -1067,6 +1073,7 @@
10671073 pwm2: pwm@ff200020 {
10681074 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10691075 reg = <0x0 0xff200020 0x0 0x10>;
1076
+ interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
10701077 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10711078 clock-names = "pwm", "pclk";
10721079 pinctrl-names = "active";
....@@ -1078,6 +1085,8 @@
10781085 pwm3: pwm@ff200030 {
10791086 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10801087 reg = <0x0 0xff200030 0x0 0x10>;
1088
+ interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
1089
+ <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
10811090 clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
10821091 clock-names = "pwm", "pclk";
10831092 pinctrl-names = "active";
....@@ -1089,6 +1098,7 @@
10891098 pwm4: pwm@ff208000 {
10901099 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
10911100 reg = <0x0 0xff208000 0x0 0x10>;
1101
+ interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
10921102 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
10931103 clock-names = "pwm", "pclk";
10941104 pinctrl-names = "active";
....@@ -1100,6 +1110,7 @@
11001110 pwm5: pwm@ff208010 {
11011111 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
11021112 reg = <0x0 0xff208010 0x0 0x10>;
1113
+ interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
11031114 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
11041115 clock-names = "pwm", "pclk";
11051116 pinctrl-names = "active";
....@@ -1111,6 +1122,7 @@
11111122 pwm6: pwm@ff208020 {
11121123 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
11131124 reg = <0x0 0xff208020 0x0 0x10>;
1125
+ interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
11141126 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
11151127 clock-names = "pwm", "pclk";
11161128 pinctrl-names = "active";
....@@ -1122,6 +1134,8 @@
11221134 pwm7: pwm@ff208030 {
11231135 compatible = "rockchip,px30-pwm", "rockchip,rk3328-pwm";
11241136 reg = <0x0 0xff208030 0x0 0x10>;
1137
+ interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
1138
+ <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
11251139 clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
11261140 clock-names = "pwm", "pclk";
11271141 pinctrl-names = "active";
....@@ -1689,7 +1703,7 @@
16891703
16901704 vopb: vop@ff460000 {
16911705 compatible = "rockchip,px30-vop-big";
1692
- reg = <0x0 0xff460000 0x0 0x1fc>, <0x0 0xff460a00 0x0 0x400>;
1706
+ reg = <0x0 0xff460000 0x0 0x260>, <0x0 0xff460a00 0x0 0x400>;
16931707 rockchip,grf = <&grf>;
16941708 reg-names = "regs", "gamma_lut";
16951709 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;